The IGetClusterObjectInfo::GetObjectType method retrieves the type of an object.
CLUADMEX_OBJECT_TYPE GetObjectType(
LONG lObjIndex
);
If GetObjectType is successful, it returns one of the following values representing object types:
CLUADMEX_OT_NONE
CLUADMEX_OT_Cluster
CLUADMEX_OT_Node
CLUADMEX_OT_Group
CLUADMEX_OT_Resource
CLUADMEX_OT_ResourceType
If GetObjectType is unsuccessful, it returns –1. For more information, call the Win32 function GetLastError.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in cluadmex.h.