Partager via


ClusNetInterface.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 information about the state of a network interface.

This property is read-only.

Syntax

ClusNetInterface.State

Property value

Long representing the network interface's state with one of the following values enumerated by the CLUSTER_NETINTERFACE_STATE enumeration.

ClusterNetInterfaceStateUnknown (-1)

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

ClusterNetInterfaceUnavailable (0)

The node that owns the network interface is down.

ClusterNetInterfaceFailed (1)

The network interface cannot communicate with any other network interface.

ClusterNetInterfaceUnreachable (2)

The network interface cannot communicate with at least one other network interface whose state is not ClusterNetInterfaceFailed or ClusterNetInterfaceUnavailable.

ClusterNetInterfaceUp (3)

The network interface can communicate with all other network interfaces whose state is not ClusterNetInterfaceFailed or ClusterNetInterfaceUnavailable.

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_ISClusNetInterface is defined as F2E606EE-2631-11D1-89F1-00A0C90D061E

See also

ClusNetInterface

CLUSTER_NETINTERFACE_STATE

GetClusterNetInterfaceState