ITsSbPlugin::Terminate method (sbtsv.h)

Performs clean-up and unloads the plug-in. Remote Desktop Connection Broker (RD Connection Broker) calls this method when it stops the RD Connection Broker service.

Syntax

HRESULT Terminate(
  [in] HRESULT hr
);

Parameters

[in] hr

Specifies the reason for termination. The plug-in should specify a standard HRESULT error code.

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

ITsSbLoadBalancing

ITsSbOrchestration

ITsSbPlacement

ITsSbPlugin

ITsSbProvisioning

ITsSbResourcePlugin

ITsSbTaskPlugin