AddServerComponentVhdAsync method of the MSFT_ServerManagerDeploymentTasks class

Asynchronously installs a server component on a VHD of a managed node.

Syntax

uint32 AddServerComponentVhdAsync(
  [in]  MSFT_ServerManagerRequestGuid               RequestGuid,
  [in]  String                                      Source[],
  [in]  Boolean                                     ScanForUpdates,
  [in]  MSFT_ServerManagerServerComponentDescriptor ServerComponentDescriptors[],
  [in]  String                                      VhdPath,
  [out] MSFT_ServerManagerRequestState              AlterationState
);

Parameters

RequestGuid [in]

The GUID of the deployment request.

Source [in]

An array that contains the path to the installation files.

ScanForUpdates [in]

Indicates whether to check for updates to the server component before the installation. True to check for updates; otherwise false.

ServerComponentDescriptors [in]

An array that contains the identities of the server components.

VhdPath [in]

The path to the VHD.

AlterationState [out]

A string that receives the state of the installation.

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