GetAlterationRequestState method of the MSFT_ServerManagerDeploymentTasks class

Retrieves the state of a deployment request.

Syntax


uint32 GetAlterationRequestState(
  [in]  MSFT_ServerManagerRequestGuid     RequestGuid,
  [in]  Boolean                           KeepAlterationStateOnRestartRequired,
  [out] MSFT_ServerManagerRequestState    AlterationState,
  [out] MSFT_ServerManagerServerComponent ServerComponents[]
);

Parameters

RequestGuid [in]

The GUID of the deployment request.

KeepAlterationStateOnRestartRequired [in]

Indicates whether to retrieve the settings that specifies whether a system restart is required to complete the deployment request. True to retrieve the setting; otherwise false.

AlterationState [out]

A string that receives the state of the deployment request.

ServerComponents [out]

An array that receives the unique names of the server components for the request.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

Root\StandardCimv2

MOF

ServerManager.DeploymentProvider.mof

DLL

ServerManager.DeploymentProvider.dll

See also

MSFT_ServerManagerDeploymentTasks

 

 

Show: