Reference for Win32_TSNetworkAdapterSetting
|
|
Category (Kategorie): Terminal Services
Description (Beschreibung): The Win32_TSNetworkAdapterSetting class defines the configuration for Win32_Terminal. This includes capabilities such as Network Adapter, Maximum Connections etc.
Availability (Verfügbarkeit):
Properties (Attribute): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | Caption | Yes | Yes | - | - | - | Description | Yes | Yes | - | - | - | MaximumConnections | Yes | Yes | - | - | - | NetworkAdapterID | Yes | Yes | - | - | - | NetworkAdapterName | Yes | Yes | - | - | - | SettingID | Yes | Yes | - | - | - | TerminalName | Yes | Yes | - | - | - |
Methods (Methoden): Item | Server 2003 | XP Pro | Windows 2000 | NT 4.0 | Windows 98 | SelectAllNetworkAdapters | Yes | Yes | - | - | - | SelectNetworkAdapterID | - | Yes | - | - | - | SelectNetworkAdapterIP | Yes | - | - | - | - |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_TSNetworkAdapterSetting")
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
|