共用方式為


TakeOffline method of the MSCluster_Resource class

Takes the resource offline.

Syntax

void TakeOffline(
  [in] uint32             TimeOut,
  [in] MSCluster_Property Parameters,
  [in] uint32             Flags
);

Parameters

TimeOut [in]

The length of time, in seconds, that the method should wait for the resource to go offline.

Parameters [in]

Instance of a MSCluster_Property class containing parameters for taking the resource offline.

**Windows Server 2008 R2 and Windows Server 2008: **

This parameter is not supported before Windows Server 2012.

Flags [in]

Flags for taking the resource offline.

**Windows Server 2008 R2 and Windows Server 2008: **

This parameter is not supported before Windows Server 2012.

Return value

This method does not return a value.

Requirements

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

See also

MSCluster_Resource

MSCluster_Property