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

Select by Class Type Search by Keyword
Show all classes

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 NameWindows Server 2003Windows XP ProfessionalWindows 2000Windows NT 4.0Windows 98
Win32_ComponentCategoryYesYesYesYesYes

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