GetDormantDIMDestObject
Purpose
GetDormantDIMDestObject determines if a specific object is dormant or active. sObjName is the name of an object to search for in the destination class of the relationship.
Description
GetDormantDIMDestObject has three possible return scenarios:
Requirements
You must be initialized as an MDS Administrator (superuser) to use this function.
The calling object must be from the origin class of the relationship specified by relGuid or relLoid and the calling object must specify the loid or guid of a version of the object.
Syntax
HRESULT GetDormantDIMDestObject(
CMetaObject& returnObj,
LPCTSTR sObjName,
const GUID& relGuid,
const OBJECTID_t relLoid = NULLLOID);
Argument |
In/Out |
Description |
returnObj |
In/Out |
Object to contain the return object, if found |
sObjName |
In |
Name of object to search for in the destination class; may not be NULL or empty |
relGuid |
In |
Relationship GUID |
relLoid |
In |
Relationship internal ID |