Reference for Win32_TSSessionSetting
(Diese Seite wurde noch nicht auf das neue Layout umgestellt!)

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Terminal Services

Description (Beschreibung):

The Win32_TSSessionSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Time-limits, Disconnection and Reconnection actions.

Availability (Verfügbarkeit):

WMI Class NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_TSSessionSettingYesYes---

Properties (Attribute):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
ActiveSessionLimitYesYes---
BrokenConnectionActionYesYes---
BrokenConnectionPolicyYesYes---
CaptionYesYes---
DescriptionYesYes---
DisconnectedSessionLimitYesYes---
IdleSessionLimitYesYes---
ReconnectionPolicyYesYes---
SettingIDYesYes---
TerminalNameYesYes---
TimeLimitPolicyYesYes---

Methods (Methoden):

ItemServer 2003XP ProWindows 2000NT 4.0Windows 98
BrokenConnectionYesYes---
TimeLimitYesYes---

Sample Code (Beispiel):

strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TSSessionSetting")
For Each objItem in colItems
    Wscript.Echo "Caption: " & objItem.Caption
Next

Links:

Link zur Original-Microsoft-Dokumentation