NodeName Property for Nodes

The NodeName property provides the node's name.

Quick Info

Type: Null-terminated Unicode string
Access: Read-only
Function: ClusterNodeControl
Structure: CLUSPROP_SZ
Control Code: CLUSCTL_NODE_GET_RO_COMMON_PROPERTIES

Remarks

When ClusterNodeControl processes the CLUSCTL_NODE_GET_RO_COMMON_PROPERTIES control code, it returns a property list that includes the NodeName 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 NodeNameValue;
LPCWSTR NodeNameData = L "NodeA";
NodeNameValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
NodeNameValue.cbLength = sizeof(NodeNameData);
lstrcpyW(NodeNameValue.sz, NodeNameData);

QuickInfo

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