共用方式為


IADsTSUserEx::get_MaxIdleTime 方法 (tsuserex.h)

遠端桌面服務會話可以保持閑置的時間上限。 經過指定的分鐘數之後,會話可以中斷聯機或終止。

這是可讀寫的屬性。

語法

HRESULT get_MaxIdleTime(
  LONG *pVal
);

參數

pVal

傳回值

規格需求

需求
最低支援的用戶端 Windows Vista
最低支援的伺服器 Windows Server 2008
目標平台 Windows
標頭 tsuserex.h (包括 Tsuserex.h、Tsuserex_i.c)
Dll Tsuserex.dll

另請參閱

IADsTSUserEx