IWTSProtocolConnection::Close method (wtsprotocol.h)

[IWTSProtocolConnection::Close is no longer available for use as of Windows Server 2012. Instead, use IWRdsProtocolConnection::Close.]

Closes a connection after the session is disconnected.

Syntax

HRESULT Close();

Return value

None

Remarks

The protocol should perform whatever cleanup is necessary to close the connection and delete the IWTSProtocolConnectionCallback object.

Requirements

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

See also

IWTSProtocolConnection