IADsTSUserEx::put_MaxDisconnectionTime method (tsuserex.h)

The maximum amount of time that a disconnected Remote Desktop Services session remains active on the Remote Desktop Session Host (RD Session Host) server. After the specified number of minutes have elapsed, the session is terminated.

This property is read/write.

Syntax

HRESULT put_MaxDisconnectionTime(
  LONG NewVal
);

Parameters

NewVal

Return value

None

Requirements

Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header tsuserex.h (include Tsuserex.h, Tsuserex_i.c)
DLL Tsuserex.dll

See also

IADsTSUserEx