共用方式為


MSFT_ServerManagerRequestState class

Represents the state of a deployment request.

The following syntax is simplified from Managed Object Format (MOF) code and includes all of the inherited properties.

Syntax

[dynamic, provider("deploymentprovider")]
class MSFT_ServerManagerRequestState
{
  uint8                             RequestState;
  Boolean                           RestartRequired;
  uint32                            ProgressTicks;
  uint32                            TotalTicks;
  String                            Warnings[];
  MSFT_ServerManagerDeploymentError Error;
};

Members

The MSFT_ServerManagerRequestState class has these types of members:

Properties

The MSFT_ServerManagerRequestState class has these properties.

Error

Data type: MSFT_ServerManagerDeploymentError

Access type: Read-only

Qualifiers: EmbeddedInstance ("MSFT_ServerManagerDeploymentError")

Gets an error for the request if the request failed.

ProgressTicks

Data type: uint32

Access type: Read-only

Gets the current number of units that represent the amount of progress made towards the request.

RequestState

Data type: uint8

Access type: Read-only

Gets the status of the deployment request.

InProgress (0)

Completed (1)

Failed (2)

RestartRequired

Data type: Boolean

Access type: Read-only

Indicates whether a system restart is required to complete the request. True to if a restart is required; otherwise false.

TotalTicks

Data type: uint32

Access type: Read-only

Gets the total number of units used to measure the progress of the request.

Warnings

Data type: String array

Access type: Read-only

An array that contains warnings generated by 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

ServerManager Deploymentprovider Provider Classes