IADsTSUserEx::p ut_MaxIdleTime 方法 (tsuserex.h)

远程桌面服务会话可以保持空闲的最长时间。 经过指定的分钟数后,会话可以断开连接或终止。

此属性是可读写的。

语法

HRESULT put_MaxIdleTime(
  LONG NewVal
);

参数

NewVal

返回值

要求

   
最低受支持的客户端 Windows Vista
最低受支持的服务器 Windows Server 2008
目标平台 Windows
标头 tsuserex.h (包括 Tsuserex.h、Tsuserex_i.c)
DLL Tsuserex.dll

另请参阅

IADsTSUserEx