共用方式為


Getting Group Information

The following table lists group-related information and objects and the recommended API elements for obtaining them. If the specified API element does not have an example, look in the Index of Examples for a similar API element.

Information or object to get API element to use
Cluster that contains the group GetClusterFromGroup
GUID identifying the group CLUSCTL_GROUP_GET_ID
Name of the group CLUSCTL_GROUP_GET_NAME
Properties of the group CLUSCTL_GROUP_GET_COMMON_PROPERTIES, CLUSCTL_GROUP_GET_RO_COMMON_PROPERTIES, CLUSCTL_GROUP_GET_PRIVATE_PROPERTIES, CLUSCTL_GROUP_GET_RO_PRIVATE_PROPERTIES,
Property names CLUSCTL_GROUP_ENUM_COMMON_PROPERTIES, CLUSCTL_GROUP_ENUM_PRIVATE_PROPERTIES
Preferred owner nodes ClusterGroupOpenEnum, ClusterGroupEnum, ClusterGroupCloseEnum
Resources in the group ClusterGroupOpenEnum, ClusterGroupEnum, ClusterGroupCloseEnum
State of the group GetClusterGroupState

 

For additional group-related API elements, see Group Management Functions and Group Control Codes.