ITsSbProvisioningPluginNotifySink::OnVirtualMachineHostStatusChanged method (sbtsv.h)

Notifies Remote Desktop Connection Broker (RD Connection Broker) that the status of the host of a virtual machine is changed.

Syntax

HRESULT OnVirtualMachineHostStatusChanged(
  [in] BSTR                  VmHost,
  [in] VM_HOST_NOTIFY_STATUS VmHostNotifyStatus,
  [in] HRESULT               ErrorCode,
  [in] BSTR                  ErrorDescr
);

Parameters

[in] VmHost

The name of the host.

[in] VmHostNotifyStatus

The new status of the host.

[in] ErrorCode

A standard HRESULT error code describing the reason for the status change.

[in] ErrorDescr

A text description of the reason for the change.

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

ITsSbProvisioningPluginNotifySink