ExecuteResourceControl method of the MSCluster_Resource class

Executes a control code on the resource.

Note  The following object is available for use in Windows Server 2008, Windows Server 2008 R2, Windows Server 2012, and Windows Server 2012 R2. It may be altered or unavailable in subsequent versions.

Syntax


void ExecuteResourceControl(
  [in]   sint32 ControlCode,
  [in]   uint8 InputBuffer[],
  [out]  uint8 OutputBuffer[],
  [out]  sint32 OutputBufferSize
);

Parameters

ControlCode [in]

A resource control code specifying the operation to be performed. For a list of resource control codes, see Resource Control Codes.

This corresponds to the dwControlCode parameter to the ClusterResourceControl function listed on the cluster resource control code reference pages.

InputBuffer [in]

An input buffer containing information needed for the operation, or NULL if no information is needed.

This corresponds to the lpInBuffer parameter to the ClusterResourceControl function listed on the cluster resource control code reference pages.

OutputBuffer [out]

An output buffer to receive the data resulting from the operation, or NULL if no data will be returned.

This corresponds to the lpOutBuffer parameter to the ClusterResourceControl function listed on the cluster resource control code reference pages.

OutputBufferSize [out]

The allocated size (in bytes) of the output buffer.

This corresponds to the cbOutBufferSize parameter to the ClusterResourceControl function listed on the cluster resource control code reference pages.

Return value

This method does not return a value.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 Datacenter, Windows Server 2008 Enterprise

Namespace

\\.\Root\MSCluster

MOF

ClusWmi.mof

See also

MSCluster_Resource
ClusterResourceControl
Resource Control Codes

 

 

Show:
© 2014 Microsoft