IAcSmObjectId.GetDatabase Method (SSO)
Retrieves the parent IAcSmDatabase 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.
IAcSmObjectId.IsEqual Method (SSO)
Compares one IAcSmObjectId with another IAcSmObjectId object, and returns True if both objects reference the same component.