RemoveServerComponentAsync method of the MSFT_ServerManagerDeploymentTasks class

Asynchronously uninstalls a server component from a managed node.

Syntax

uint32 RemoveServerComponentAsync(
  [in]  MSFT_ServerManagerRequestGuid               RequestGuid,
  [in]  Boolean                                     DeleteComponents,
  [in]  MSFT_ServerManagerServerComponentDescriptor ServerComponentDescriptors[],
  [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.

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