Поделиться через


RemoveServerComponentVhdAsync method of the MSFT_ServerManagerDeploymentTasks class

Asynchronously uninstalls a server component from a VHD on a managed node.

Syntax

uint32 RemoveServerComponentVhdAsync(
  [in]  MSFT_ServerManagerRequestGuid               RequestGuid,
  [in]  Boolean                                     DeleteComponents,
  [in]  MSFT_ServerManagerServerComponentDescriptor ServerComponentDescriptors[],
  [in]  String                                      VhdPath,
  [out] MSFT_ServerManagerRequestState              AlterationState
);

Parameters

RequestGuid [in]

The GUID of this deployment request.

DeleteComponents [in]

Indicates whether to delete the server components. True to delete the components; otherwise false.

ServerComponentDescriptors [in]

An array that contains the identities of the server components to uninstall.

VhdPath [in]

The path to the VHD that contains the server components.

AlterationState [out]

A string that receives the state of this deployment 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