This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can trysigning in orchanging directories.
Access to this page requires authorization. You can trychanging directories.
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides access to a rich set of management information and management events about the system, devices, and applications instrumented to the Windows Management Instrumentation (WMI) infrastructure. Applications and services can query for interesting management information (such as how much free space is left on the disk, what is the current CPU utilization, which database a certain application is connected to, and much more), using classes derived fromManagementObjectSearcher andManagementQuery, or subscribe to a variety of management events using theManagementEventWatcher class. The accessible data can be from both managed and unmanaged components in the distributed environment.
| Name | Description |
|---|---|
| CompletedEventArgs | Holds event data for theCompleted event. |
| ConnectionOptions | Specifies all settings required to make a WMI connection. |
| DeleteOptions | Specifies options for deleting a management object. |
| EnumerationOptions | Provides a base class for query and enumeration-related options objects. |
| EventArrivedEventArgs | Holds event data for theEventArrived event. |
| EventQuery | Represents a WMIevent query. |
| EventWatcherOptions | Specifies options for management event watching. |
| InvokeMethodOptions | Specifies options for invoking a management method. |
| ManagementBaseObject | Contains the basic elements of a management object. It serves as a base class to more specific management object classes. |
| ManagementClass | Represents a Common Information Model (CIM) management class. A management class is a WMI class such asWin32_LogicalDisk, which can represent a disk drive, andWin32_Process, which represents a process such as Notepad.exe. The members of this class enable you to access WMI data using a specific WMI class path. |
| ManagementDateTimeConverter | Provides methods to convert Desktop Management Task Force (DMTF) date-time and time intervals to CLR-compliantDateTime andTimeSpan format and vice versa. |
| ManagementEventArgs | Represents the virtual base class to hold event data for WMI events. |
| ManagementEventWatcher | Subscribes to temporary event notifications based on a specifiedevent query. |
| ManagementException | Represents management exceptions. |
| ManagementNamedValueCollection | Represents a collection of named values suitable for use as context information to WMI operations. The names are case-insensitive. |
| ManagementObject | Represents a WMI instance. |
| ManagementObjectCollection | Represents different collections of management objects retrieved through WMI. The objects in this collection are ofManagementBaseObject-derived types, includingManagementObject andManagementClass. The collection can be the result of a WMI query executed through aManagementObjectSearcher, or an enumeration of management objects of a specified type retrieved through aManagementClass representing that type. In addition, this can be a collection of management objects related in a specified way to a specific management object - in this case the collection would be retrieved through a method such asGetRelated(). The collection can be walked using theManagementObjectCollection.ManagementObjectEnumerator and objects in it can be inspected or manipulated for various management tasks. |
| ManagementObjectCollection.ManagementObjectEnumerator | Represents the enumerator on the collection. |
| ManagementObjectSearcher | Retrieves a collection of management objects based on a specified query. This class is one of the more commonly used entry points to retrieving management information. For example, it can be used to enumerate all disk drives, network adapters, processes and many more management objects on a system, or to query for all network connections that are up, services that are paused, and so on. When instantiated, an instance of this class takes as input a WMI query represented in anObjectQuery or its derivatives, and optionally aManagementScope representing the WMI namespace to execute the query in. It can also take additional advanced options in anEnumerationOptions. When theGet() method on this object is invoked, theManagementObjectSearcher executes the given query in the specified scope and returns a collection of management objects that match the query in aManagementObjectCollection. |
| ManagementOperationObserver | Manages asynchronous operations and handles management information and events received asynchronously. |
| ManagementOptions | Provides an abstract base class for all options objects. |
| ManagementPath | Provides a wrapper for parsing and building paths to WMI objects. |
| ManagementQuery | Provides an abstract base class for all management query objects. |
| ManagementScope | Represents a scope (namespace) for management operations. |
| MethodData | Contains information about a WMI method. |
| MethodDataCollection | Represents the set of methods available in the collection. |
| MethodDataCollection.MethodDataEnumerator | Represents the enumerator forMethodData objects in theMethodDataCollection. |
| ObjectGetOptions | Specifies options for getting a management object. |
| ObjectPutEventArgs | Holds event data for theObjectPut event. |
| ObjectQuery | Represents a management query that returns instances or classes. |
| ObjectReadyEventArgs | Holds event data for theObjectReady event. |
| ProgressEventArgs | Holds event data for theProgress event. |
| PropertyData | Represents information about a WMI property. |
| PropertyDataCollection | Represents the set of properties of a WMI object. |
| PropertyDataCollection.PropertyDataEnumerator | Represents the enumerator forPropertyData objects in thePropertyDataCollection. |
| PutOptions | Specifies options for committing management object changes. |
| QualifierData | Contains information about a WMI qualifier. |
| QualifierDataCollection | Represents a collection ofQualifierData objects. |
| QualifierDataCollection.QualifierDataEnumerator | Represents the enumerator forQualifierData objects in theQualifierDataCollection. |
| RelatedObjectQuery | Represents a WQLASSOCIATORS OF data query. It can be used for both instances and schema queries. |
| RelationshipQuery | Represents a WQLREFERENCES OF data query. |
| SelectQuery | Represents a WQL SELECT data query. |
| StoppedEventArgs | Holds event data for theStopped event. |
| WqlEventQuery | Represents a WMI event query inWQL format. |
| WqlObjectQuery | Represents a WMI data query in WQL format. |
| Name | Description |
|---|---|
| AuthenticationLevel | Describes the authentication level to be used to connect to WMI. This is used for the COM connection to WMI. |
| CimType | Describes the possible CIM types for properties,qualifiers, or method parameters. |
| CodeLanguage | Defines the languages supported by the code generator. |
| ComparisonSettings | Describes the object comparison modes that can be used withCompareTo(ManagementBaseObject, ComparisonSettings). Note that these values may be combined. |
| ImpersonationLevel | Describes the impersonation level to be used to connect to WMI. |
| ManagementStatus | Describes the enumeration of all WMI error codes that are currently defined. |
| PutType | Describes the possible effects of saving an object to WMI when usingPut(). |
| TextFormat | Describes the possible text formats that can be used withGetText(TextFormat). |
| Name | Description |
|---|---|
| CompletedEventHandler | Represents the method that will handle theCompleted event. |
| EventArrivedEventHandler | Represents the method that will handle theEventArrived event. |
| ObjectPutEventHandler | Represents the method that will handle theObjectPut event. |
| ObjectReadyEventHandler | Represents the method that will handle theObjectReady event. |
| ProgressEventHandler | Represents the method that will handle theProgress event. |
| StoppedEventHandler | Represents the method that will handle theStopped event. |
Was this page helpful?
Need help with this topic?
Want to try using Ask Learn to clarify or guide you through this topic?
Was this page helpful?
Want to try using Ask Learn to clarify or guide you through this topic?