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

Select by Class Type Search by Keyword
Show all classes

Category (Kategorie):

Processes and Services

Description (Beschreibung):

The Win32_Thread WMI class represents a thread of execution.While a process must have one thread of execution, the process can create other threads to execute tasks in parallel. Threads share the process environment, thus multiple threads under the same process use less memory than the same number of processes.

Availability (Verfügbarkeit):

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

Sample Code (Beispiel):

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

Links:

Link zur Original-Microsoft-Dokumentation