IWRdsProtocolConnection::AuthenticateClientToSession method (wtsprotocol.h)

Specifies a session that the connection should be reconnected to.

Syntax

HRESULT AuthenticateClientToSession(
  [out] WRDS_SESSION_ID *SessionId
);

Parameters

[out] SessionId

A pointer to a WRDS_SESSION_ID structure that uniquely identifies the session.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Upon receiving an error, the Remote Desktop Services service continues the connection sequence.

Requirements

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

See also

IWRdsProtocolConnection