IGetClusterObjectInfo::GetObjectType method (cluadmex.h)

[This method is available for use in the operating systems specified in the Requirements section. Support for this method was removed in Windows Server 2008.]

Returns the type of a cluster object.

Syntax

CLUADMEX_OBJECT_TYPE GetObjectType(
  [in] LONG lObjIndex
);

Parameters

[in] lObjIndex

A number representing the zero-based index of the target object. This parameter is restricted to the number that can be retrieved by calling IGetClusterDataInfo::GetObjectCount.

Return value

If GetObjectType is successful, it returns one of the following values enumerated by the CLUADMEX_OBJECT_TYPE enumeration representing the object types:

If GetObjectType is not successful, it returns –1. For more information, call GetLastError.

Remarks

CLUADMEX_OT_NONE is returned when Failover Cluster Administrator does not recognize the object type.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2003 Enterprise, Windows Server 2003 Datacenter
Target Platform Windows
Header cluadmex.h

See also

IGetClusterDataInfo::GetObjectCount

IGetClusterObjectInfo