Freigeben über


ClusNetwork.State property

[The State property is available for use in the operating systems specified in the Requirements section. It may be altered or unavailable in subsequent versions.]

Returns the state of a network.

This property is read-only.

Syntax

ClusNetwork.State

Property value

Longthat receives a constant representing the network's current state enumerated by the CLUSTER_NETWORK_STATE enumeration.

ClusterNetworkStateUnknown (-1)

The State property has failed; the state of the network is unknown.

ClusterNetworkUnavailable (0)

All of the network interfaces on the network are unavailable, which means that the nodes that own the network interfaces are down.

ClusterNetworkDown (1)

The network is not operational; none of the nodes on the network can communicate.

ClusterNetworkPartitioned (2)

The network is operational, but two or more nodes on the network cannot communicate. Typically a path-specific problem has occurred.

ClusterNetworkUp (3)

The network is operational; all of the nodes in the cluster can communicate.

Remarks

For information on making constants defined by the Cluster Automation Server type library (MsClus.tlb) available to scripts, see Creating a Cluster Automation Server Script.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008 Enterprise, Windows Server 2008 Datacenter
Header
MsClus.h
IDL
MsClus.idl
Type library
MsClus.tlb
DLL
MsClus.dll
IID
IID_ISClusNetwork is defined as F2E606F2-2631-11D1-89F1-00A0C90D061E

See also

GetClusterNetworkState

ClusNetwork