This documentation is archived and is not being maintained.

ManagementObject Members

Represents a WMI instance.

The ManagementObject type exposes the following members.

Public method ManagementObject Overloaded. Initializes a new instance of the ManagementObject class.

Public method Clone Creates a copy of the object. (Overrides ManagementBaseObject.Clone().)
Public method CompareTo Compares this object to another, based on specified options. (Inherited from ManagementBaseObject.)
Public method CopyTo Overloaded. Copies the object to a different location.
Public method 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.)
Public method Delete Overloaded. Deletes the object.
Public method Dispose Overloaded. Releases all resources used by the Component.
Public method Equals Compares two management objects. (Inherited from ManagementBaseObject.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method Get Overloaded. Binds to the management object.
Public method 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.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method GetMethodParameters Returns a ManagementBaseObject representing the list of input parameters for a method.
Protected method GetObjectData Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance. (Overrides ManagementBaseObject.GetObjectData(SerializationInfo, StreamingContext).)
Public method GetPropertyQualifierValue Returns the value of the specified property qualifier. (Inherited from ManagementBaseObject.)
Public method GetPropertyValue Gets an equivalent accessor to a property's value. (Inherited from ManagementBaseObject.)
Public method GetQualifierValue Gets the value of the specified qualifier. (Inherited from ManagementBaseObject.)
Public method GetRelated Overloaded. Gets a collection of objects related to the object (associators).
Public method GetRelationships Overloaded. Gets a collection of associations to the object.
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetText Returns a textual representation of the object in the specified format. (Inherited from ManagementBaseObject.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method InvokeMethod Overloaded. Invokes a method on the object.
Protected method MemberwiseClone Overloaded.
Public method Put Overloaded. Commits the changes to the object.
Public method SetPropertyQualifierValue Sets the value of the specified property qualifier. (Inherited from ManagementBaseObject.)
Public method SetPropertyValue Sets the value of the named property. (Inherited from ManagementBaseObject.)
Public method SetQualifierValue Sets the value of the named qualifier. (Inherited from ManagementBaseObject.)
Public method ToString Returns the full path of the object. This is an override of the default object implementation. (Overrides Component.ToString().)

Protected property CanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public property ClassPath Gets or sets the path to the object's class. (Overrides ManagementBaseObject.ClassPath.)
Public property Container Gets the IContainer that contains the Component. (Inherited from Component.)
Protected property DesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected property Events Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public property 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.)
Public property Options Gets or sets additional information to use when retrieving the object.
Public property Path Gets or sets the object's WMI path.
Public property Properties Gets a collection of PropertyData objects describing the properties of the management object. (Inherited from ManagementBaseObject.)
Public property 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.)
Public property Scope Gets or sets the scope in which this object resides.
Public property Site Gets or sets the ISite of the Component. (Inherited from Component.)
Public property 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.)

Public event Disposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)

Explicit interface implemetation Private method ISerializable.GetObjectData Implements the System.Runtime.Serialization.ISerializable interface and returns the data needed to serialize the ManagementBaseObject. (Inherited from ManagementBaseObject.)