ITsSbClientConnection::DisconnectedSessionInfo Property

[This documentation is preliminary and is subject to change.]
The DisconnectedSessionInfo property specifies information about a disconnected session, if one exists in the given remote desktop server farm for this user.

Syntax

HRESULT get_DisconnectedSessionInfo(
  [out, retval]  PDisconnected_Session_Info *ppDiscSessionInfo
);

Parameters

  • ppDiscSessionInfo [out]
    A pointer to a disconnected session information object.

Return Value

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

Return code Description

E_SB_NO_DISCONNECTED_SESSION

No disconnected session was found in the given farm for this user.

Remarks

The disconnected session information object contains information about the terminal server or virtual machine that hosts the user’s disconnected session. Remote Desktop Connection Broker checks to determine whether a disconnected session exists for a user in the given farm. If it does, no load balancing is performed, but the connection still undergoes placement and orchestration calls.

Requirements

Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
IDL Sbtsv.idl

See Also

ITsSbClientConnection

Send comments about this topic to Microsoft

Build date: 1/15/2009