Reference for Win32_ComponentCategory
|
|
Category (Kategorie): Component Object Model
Description (Beschreibung): The Win32_ComponentCategory WMI class represents a component category. Component categories are groups of COM classes with a defined functionality set shared between them. A client using these interfaces queries the registry for the category title and unique identifier called CategoryID, which is created from a globally unique identifier (GUID).
Availability (Verfügbarkeit): WMI Class Name | Windows Server 2003 | Windows XP Professional | Windows 2000 | Windows NT 4.0 | Windows 98 | Win32_ComponentCategory | Yes | Yes | Yes | Yes | Yes |
Sample Code (Beispiel):
strComputer = "."
Set objWMIService = GetObject("winmgmts:\\" & strComputer & "\root\cimv2")
Set colItems = objWMIService.ExecQuery("Select * from Win32_ComponentCategory")
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
|