Reference for Win32_TSClientSetting
|
|
Category (Kategorie): Terminal Services
Description (Beschreibung): The Win32_TSClientSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Connection policy, printer, drive, clipboard mappings, color depth and connection settings.
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_TSClientSetting | Yes | Yes | - | - | - |
Properties (Attribute): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | AudioMapping | Yes | Yes | - | - | - | Caption | Yes | Yes | - | - | - | ClipboardMapping | Yes | Yes | - | - | - | ColorDepth | Yes | Yes | - | - | - | ColorDepthPolicy | Yes | Yes | - | - | - | COMPortMapping | Yes | Yes | - | - | - | ConnectClientDrivesAtLogon | Yes | Yes | - | - | - | ConnectionPolicy | Yes | Yes | - | - | - | ConnectPrinterAtLogon | Yes | Yes | - | - | - | DefaultToClientPrinter | Yes | Yes | - | - | - | Description | Yes | Yes | - | - | - | DriveMapping | Yes | Yes | - | - | - | LPTPortMapping | Yes | Yes | - | - | - | SettingID | Yes | Yes | - | - | - | TerminalName | Yes | Yes | - | - | - | WindowsPrinterMapping | Yes | Yes | - | - | - |
Methods (Methoden): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | ConnectionSettings | Yes | Yes | - | - | - | SetClientProperty | Yes | Yes | - | - | - | SetColorDepth | Yes | Yes | - | - | - | SetColorDepthPolicy | Yes | Yes | - | - | - |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TSClientSetting")
For Each objItem in colItems
Wscript.Echo "Caption: " & objItem.Caption
Next
Links:
Link zur Original-Microsoft-Dokumentation
www.IT-Visions.de, (C) Dr. Holger Schwichtenberg
|