Partager via


EnableDevice method of the MSCluster_NetworkInterface class

Requests that the LogicalDevice be enabled ("Enabled parameter = TRUE) or disabled (= FALSE). If successful, the Device's StatusInfo property should also reflect the desired state (enabled/disabled). The return code should be 0 if the request was successfully executed, 1 if the request is not supported and some other value if an error occurred. In a subclass, the set of possible return codes could be specified, using a ValueMap qualifier on the method. The strings to which the ValueMap contents are 'translated' may also be specified in the subclass as a Values array qualifier.

Syntax

uint32 EnableDevice(
  [in] boolean Enabled
);

Parameters

Enabled [in]

TBD

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2008
Namespace
Root\MSCluster
MOF
ClusWMI.mof
DLL
ClusWMI.dll

See also

MSCluster_NetworkInterface