Name Property for Groups

The Name property specifies the name of the group.

Quick Info

Type: Null-terminated Unicode string
Access: Read-only
Function: ClusterGroupControl
Structure: CLUSPROP_SZ
Control Code: CLUSCTL_GROUP_GET_RO_COMMON_PROPERTIES

Remarks

When ClusterGroupControl processes the CLUSCTL_GROUP_GET_RO_COMMON_PROPERTIES control code, it returns a property list that includes the Name property as one of the entries. The property value portion of the entry contains a CLUSPROP_SZ structure that is set as follows:

CLUSPROP_SZ NameValue;
LPCWSTR NameData = L "Spreadsheet App Group";
NameValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
NameValue.cbLength = sizeof(NameData);
lstrcpyW(NameValue.sz, NameData);
 

Applications can change a group's name by calling the Cluster API function SetClusterGroupName.

QuickInfo

  Version: Use Windows NT Server Enterprise Edition 4.0.
  Windows CE: Unsupported.
  Header: Declared in clusapi.h.