This documentation is archived and is not being maintained.

ManagementObject Members

ManagementObject overview

Public Constructors

public constructorManagementObject Constructor Overloaded. Initializes a new instance of the ManagementObject class.

Public Properties

public propertyClassPath Overridden. Gets or sets the path to the object's class.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyItem (inherited from ManagementBaseObject) Gets access to property values through [] notation.

In C#, this property is the indexer for the ManagementObject class.

public propertyOptions Gets or sets additional information to use when retrieving the object.
public propertyPath Gets or sets the object's WMI path.
public propertyProperties (inherited from ManagementBaseObject) Gets or sets a collection of PropertyData objects describing the properties of the management object.
public propertyQualifiers (inherited from ManagementBaseObject) Gets or sets 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.
public propertyScope Gets or sets the scope in which this object resides.
public propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertySystemProperties (inherited from ManagementBaseObject) Gets or sets the collection of WMI system properties of the management object (for example, the class name, server, and namespace). WMI system property names begin with "__".

Public Methods

public methodClone Overridden. Creates a copy of the object.
public methodCompareTo (inherited from ManagementBaseObject) Compares this object to another, based on specified options.
public methodCopyTo Overloaded. Copies the object to a different location.
public methodCreateObjRef (inherited from MarshalByRefObject) Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
public methodDelete Overloaded. Deletes the object.
public methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals (inherited from ManagementBaseObject) Overridden. Compares two management objects.
public methodGet Overloaded. Binds to the management object.
public methodGetHashCode (inherited from ManagementBaseObject) Overridden. Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetMethodParameters Returns a ManagementBaseObject representing the list of input parameters for a method.
public methodGetPropertyQualifierValue (inherited from ManagementBaseObject) Returns the value of the specified property qualifier.
public methodGetPropertyValue (inherited from ManagementBaseObject) Gets an equivalent accessor to a property's value.
public methodGetQualifierValue (inherited from ManagementBaseObject) Gets the value of the specified qualifier.
public methodGetRelated Overloaded. Gets a collection of objects related to the object (associators).
public methodGetRelationships Overloaded. Gets a collection of associations to the object.
public methodGetText (inherited from ManagementBaseObject) Returns a textual representation of the object in the specified format.
public methodGetType (inherited from Object) Gets the Type of the current instance.
public methodInitializeLifetimeService (inherited from MarshalByRefObject) Obtains a lifetime service object to control the lifetime policy for this instance.
public methodInvokeMethod Overloaded. Invokes a method on the object.
public methodPut Overloaded. Commits the changes to the object.
public methodSetPropertyQualifierValue (inherited from ManagementBaseObject) Sets the value of the specified property qualifier.
public methodSetPropertyValue (inherited from ManagementBaseObject) Sets the value of the named property.
public methodSetQualifierValue (inherited from ManagementBaseObject) Sets the value of the named qualifier.
public methodToString Overridden. Returns the full path of the object. This is an override of the default object implementation.

Public Events

public eventDisposed (inherited from Component) Adds an event handler to listen to the Disposed event on the component.

Protected Properties

protected propertyDesignMode (inherited from Component) Gets a value that indicates whether the Component is currently in design mode.
protected propertyEvents (inherited from Component) Gets the list of event handlers that are attached to this Component.

Protected Methods

protected methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
protected methodFinalize (inherited from Component) Overridden. Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection.

In C# and C++, finalizers are expressed using destructor syntax.

protected methodGetService (inherited from Component) Returns an object that represents a service provided by the Component or by its Container.
protected methodMemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

ManagementObject Class | System.Management Namespace