ITsSbProvisioning::PatchVirtualMachines method (sbtsv.h)

Patches a virtual machine asynchronously.

Syntax

HRESULT PatchVirtualMachines(
  [in]           BSTR                              JobXmlString,
  [in]           BSTR                              JobGuid,
  [in]           ITsSbProvisioningPluginNotifySink *pSink,
  [in, optional] VM_PATCH_INFO                     *pVMPatchInfo
);

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.

[in, optional] pVMPatchInfo

Patch information.

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

ITsSbProvisioning