AcSmDatabase.GetObjectId Method (SSO)

Retrieves the IAcSmObjectId of the object. If the method succeeds, the return value is S_OK. If the parent database cannot be found, S_FALSE is returned and the provided pointer is populated with null. All other return values indicate an error condition.

The caller must release the IAcSmObjectId object when the operation is completed.

Syntax

GetObjectId() As IAcSmObjectId