ITsSbProvisioning::CreateVirtualMachines method (sbtsv.h)

Creates a virtual machine asynchronously.

Syntax

HRESULT CreateVirtualMachines(
  [in] BSTR                              JobXmlString,
  [in] BSTR                              JobGuid,
  [in] ITsSbProvisioningPluginNotifySink *pSink
);

Parameters

[in] JobXmlString

Defines the job.

[in] JobGuid

A GUID that identifies the job.

[in] pSink

The ITsSbProvisioningPluginNotifySink object that notifies the RD Connection Broker about the job.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2012
Target Platform Windows
Header sbtsv.h

See also

CancelJob

ITsSbProvisioning