IWTSSBPlugin::Terminated method (tssbx.h)

[The IWTSSBPlugin interface is not supported after Windows Server 2008 R2. Starting with Windows Server 2012 please use the ITsSbPlugin interface.]

Notifies the plug-in that it is about to be destroyed by Terminal Services Session Broker (TS Session Broker).

Syntax

HRESULT Terminated();

Return value

Returns S_OK if successful.

Remarks

TS Session Broker calls this method before it destroys this instance of the plug-in. You can use this method to perform cleanup for the plug-in before TS Session Broker destroys it. After the plug-in is destroyed, TS Session Broker reverts to its native redirection service.

Your implementation of this method must return S_OK immediately if successful.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header tssbx.h

See also

ITsSbPlugin

IWTSSBPlugin