IWRdsProtocolConnection::AuthenticateClientToSession method

Specifies a session that the connection should be reconnected to.

Syntax


HRESULT AuthenticateClientToSession(
  [out] WRDS_SESSION_ID *SessionId
);

Parameters

SessionId [out]

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

IDL

Wtsprotocol.idl

See also

IWRdsProtocolConnection

 

 

Show: