The Network property provides the name of the network to which the network interface is connected.
Type: | Null-terminated Unicode string |
Access: | Read-only |
Function: | ClusterNetInterfaceControl |
Structure: | CLUSPROP_SZ |
Control Code: | CLUSCTL_NETINTERFACE_GET_RO_COMMON_PROPERTIES |
When ClusterNetworkControl processes the CLUSCTL_NETWORK_GET_RO_COMMON_PROPERTIES control code, it returns a property list that includes the Network 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 NetworkValue;
LPCWSTR NetworkData = L "External Network";
NetworkValue.Syntax = CLUSPROP_SYNTAX_LIST_VALUE_SZ;
NetworkValue.cbLength = sizeof(NetworkData);
lstrcpyW(NetworkValue.sz, NetworkData);
Because the Network property is read-only, it cannot be changed using the CLUSCTL_NETINTERFACE_SET_COMMON_PROPERTIES control code.
Version: Use Windows NT Server Enterprise Edition 4.0.
Windows CE: Unsupported.
Header: Declared in clusapi.h.