ManagementObject Class
.NET Framework 4.5
Represents a WMI instance.
System.Object
System.MarshalByRefObject
System.ComponentModel.Component
System.Management.ManagementBaseObject
System.Management.ManagementObject
System.Management.ManagementClass
System.MarshalByRefObject
System.ComponentModel.Component
System.Management.ManagementBaseObject
System.Management.ManagementObject
System.Management.ManagementClass
Assembly: System.Management (in System.Management.dll)
The ManagementObject type exposes the following members.
| Name | Description | |
|---|---|---|
![]() | ManagementObject() | Initializes a new instance of the ManagementObject class. This is the default constructor. |
![]() | ManagementObject(ManagementPath) | Initializes a new instance of the ManagementObject class for the specified WMI object path. The path is provided as a ManagementPath. |
![]() | ManagementObject(String) | Initializes a new instance of the ManagementObject class for the specified WMI object path. The path is provided as a string. |
![]() | ManagementObject(ManagementPath, ObjectGetOptions) | Initializes a new instance of the ManagementObject class bound to the specified WMI path, including the specified additional options. |
![]() | ManagementObject(SerializationInfo, StreamingContext) | Initializes a new instance of the ManagementObject class that is serializable. |
![]() | ManagementObject(String, ObjectGetOptions) | Initializes a new instance of the ManagementObject class bound to the specified WMI path, including the specified additional options. In this variant, the path can be specified as a string. |
![]() | ManagementObject(ManagementScope, ManagementPath, ObjectGetOptions) | Initializes a new instance of the ManagementObject class bound to the specified WMI path that includes the specified options. |
![]() | ManagementObject(String, String, ObjectGetOptions) | Initializes a new instance of the ManagementObject class bound to the specified WMI path, and includes the specified options. The scope and the path are specified as strings. |
| Name | Description | |
|---|---|---|
![]() | CanRaiseEvents | Gets a value indicating whether the component can raise an event. (Inherited from Component.) |
![]() | ClassPath | Gets or sets the path to the object's class. (Overrides ManagementBaseObject.ClassPath.) |
![]() | Container | Gets the IContainer that contains the Component. (Inherited from Component.) |
![]() | DesignMode | Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.) |
![]() | Events | Gets the list of event handlers that are attached to this Component. (Inherited from Component.) |
![]() | Item | Gets access to property values through [] notation. This property is the indexer for the ManagementBaseObject class. You can use the default indexed properties defined by a type, but you cannot explicitly define your own. However, specifying the expando attribute on a class automatically provides a default indexed property whose type is Object and whose index type is String. (Inherited from ManagementBaseObject.) |
![]() | Options | Gets or sets additional information to use when retrieving the object. |
![]() | Path | Gets or sets the object's WMI path. |
![]() | Properties | Gets a collection of PropertyData objects describing the properties of the management object. (Inherited from ManagementBaseObject.) |
![]() | Qualifiers | Gets the collection of QualifierData objects defined on the management object. Each element in the collection holds information such as the qualifier name, value, and flavor. (Inherited from ManagementBaseObject.) |
![]() | Scope | Gets or sets the scope in which this object resides. |
![]() | Site | Gets or sets the ISite of the Component. (Inherited from Component.) |
![]() | SystemProperties | Gets the collection of WMI system properties of the management object (for example, the class name, server, and namespace). WMI system property names begin with "__". (Inherited from ManagementBaseObject.) |
| Name | Description | |
|---|---|---|
![]() | Clone | Creates a copy of the object. (Overrides ManagementBaseObject.Clone().) |
![]() | CompareTo | Compares this object to another, based on specified options. (Inherited from ManagementBaseObject.) |
![]() | CopyTo(ManagementPath) | Copies the object to a different location. |
![]() | CopyTo(String) | Copies the object to a different location. |
![]() | CopyTo(ManagementOperationObserver, ManagementPath) | Copies the object to a different location, asynchronously. |
![]() | CopyTo(ManagementOperationObserver, String) | Copies the object to a different location, asynchronously. |
![]() | CopyTo(ManagementPath, PutOptions) | Copies the object to a different location. |
![]() | CopyTo(String, PutOptions) | Copies the object to a different location. |
![]() | CopyTo(ManagementOperationObserver, ManagementPath, PutOptions) | Copies the object to a different location, asynchronously. |
![]() | CopyTo(ManagementOperationObserver, String, PutOptions) | Copies the object to a different location, asynchronously. |
![]() | CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
![]() | Delete() | Deletes the object. |
![]() | Delete(DeleteOptions) | Deletes the object. |
![]() | Delete(ManagementOperationObserver) | Deletes the object. |
![]() | Delete(ManagementOperationObserver, DeleteOptions) | Deletes the object. |
![]() | Dispose() | Releases all resources used by the Component. |
![]() | Dispose(Boolean) | Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.) |
![]() | Equals | Compares two management objects. (Inherited from ManagementBaseObject.) |
![]() | Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
![]() | Get() | Binds WMI class information to the management object. |
![]() | Get(ManagementOperationObserver) | Binds to the management object asynchronously. |
![]() | GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. (Inherited from ManagementBaseObject.) |
![]() | GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | GetMethodParameters | Returns a ManagementBaseObject representing the list of input parameters for a method. |
![]() | GetObjectData | Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance. (Overrides ManagementBaseObject.GetObjectData(SerializationInfo, StreamingContext).) |
![]() | GetPropertyQualifierValue | Returns the value of the specified property qualifier. (Inherited from ManagementBaseObject.) |
![]() | GetPropertyValue | Gets an equivalent accessor to a property's value. (Inherited from ManagementBaseObject.) |
![]() | GetQualifierValue | Gets the value of the specified qualifier. (Inherited from ManagementBaseObject.) |
![]() | GetRelated() | Gets a collection of objects related to the object (associators). |
![]() | GetRelated(ManagementOperationObserver) | Gets a collection of objects related to the object (associators) asynchronously. This call returns immediately, and a delegate is called when the results are available. |
![]() | GetRelated(String) | Gets a collection of objects related to the object (associators). |
![]() | GetRelated(ManagementOperationObserver, String) | Gets a collection of objects related to the object (associators). |
![]() | GetRelated(String, String, String, String, String, String, Boolean, EnumerationOptions) | Gets a collection of objects related to the object (associators). |
![]() | GetRelated(ManagementOperationObserver, String, String, String, String, String, String, Boolean, EnumerationOptions) | Gets a collection of objects related to the object (associators). |
![]() | GetRelationships() | Gets a collection of associations to the object. |
![]() | GetRelationships(ManagementOperationObserver) | Gets a collection of associations to the object. |
![]() | GetRelationships(String) | Gets a collection of associations to the object. |
![]() | GetRelationships(ManagementOperationObserver, String) | Gets a collection of associations to the object. |
![]() | GetRelationships(String, String, String, Boolean, EnumerationOptions) | Gets a collection of associations to the object. |
![]() | GetRelationships(ManagementOperationObserver, String, String, String, Boolean, EnumerationOptions) | Gets a collection of associations to the object. |
![]() | GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
![]() | GetText | Returns a textual representation of the object in the specified format. (Inherited from ManagementBaseObject.) |
![]() | GetType | Gets the Type of the current instance. (Inherited from Object.) |
![]() | InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
![]() | InvokeMethod(String, Object[]) | Invokes a method on the object. |
![]() | InvokeMethod(ManagementOperationObserver, String, Object[]) | Invokes a method on the object, asynchronously. |
![]() | InvokeMethod(String, ManagementBaseObject, InvokeMethodOptions) | Invokes a method on the WMI object. The input and output parameters are represented as ManagementBaseObject objects. |
![]() | InvokeMethod(ManagementOperationObserver, String, ManagementBaseObject, InvokeMethodOptions) | Invokes a method on the object, asynchronously. |
![]() | MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
![]() | MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
![]() | Put() | Commits the changes to the object. |
![]() | Put(ManagementOperationObserver) | Commits the changes to the object, asynchronously. |
![]() | Put(PutOptions) | Commits the changes to the object. |
![]() | Put(ManagementOperationObserver, PutOptions) | Commits the changes to the object asynchronously and using the specified options. |
![]() | SetPropertyQualifierValue | Sets the value of the specified property qualifier. (Inherited from ManagementBaseObject.) |
![]() | SetPropertyValue | Sets the value of the named property. (Inherited from ManagementBaseObject.) |
![]() | SetQualifierValue | Sets the value of the named qualifier. (Inherited from ManagementBaseObject.) |
![]() | ToString | Returns the full path of the object. This is an override of the default object implementation. (Overrides Component.ToString().) |
| Name | Description | |
|---|---|---|
![]() ![]() | ISerializable.GetObjectData | Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the ManagementBaseObject. (Inherited from ManagementBaseObject.) |
Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
