IWRdsProtocolConnection::AuthenticateClientToSession method (wtsprotocol.h)

Specifies a session that the connection should be reconnected to.

Syntax

HRESULT AuthenticateClientToSession(
  WRDS_SESSION_ID *SessionId
);

Parameters

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

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

See also

IWRdsProtocolConnection