IADsTSUserEx::put_MaxConnectionTime method (tsuserex.h)
The maximum duration of the Remote Desktop Services session. After the specified number of minutes have elapsed, the session can be disconnected or terminated.
This property is read/write.
Syntax
HRESULT put_MaxConnectionTime(
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 |