This documentation is archived and is not being maintained.

ManagementClass Methods

The methods of the ManagementClass class are listed here. For a complete list of ManagementClass class members, see the ManagementClass Members topic.

Public Methods

public methodClone Overridden. Returns a copy of the object.
public methodCompareTo (inherited from ManagementBaseObject) Compares this object to another, based on specified options.
public methodCopyTo (inherited from ManagementObject) Overloaded. Copies the object to a different location.
public methodCreateInstance Creates a new instance of the WMI class.
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 (inherited from ManagementObject) Overloaded. Deletes the object.
public methodDerive Derives a new class from this class.
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 (inherited from ManagementObject) 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 methodGetInstances Overloaded. Returns the collection of all instances of the class.
public methodGetLifetimeService (inherited from MarshalByRefObject) Retrieves the current lifetime service object that controls the lifetime policy for this instance.
public methodGetMethodParameters (inherited from ManagementObject) 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 (inherited from ManagementObject) Overloaded. Gets a collection of objects related to the object (associators).
public methodGetRelatedClasses Overloaded. Retrieves classes related to the WMI class.
public methodGetRelationshipClasses Overloaded. Retrieves relationship classes that relate the class to others.
public methodGetRelationships (inherited from ManagementObject) Overloaded. Gets a collection of associations to the object.
public methodGetStronglyTypedClassCode Overloaded. Generates a strongly-typed class for a given WMI class.
public methodGetSubclasses Overloaded. Returns the collection of all subclasses for the class.
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 (inherited from ManagementObject) Overloaded. Invokes a method on the object.
public methodPut (inherited from ManagementObject) 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 (inherited from ManagementObject) Overridden. Returns the full path of the object. This is an override of the default object implementation.

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

ManagementClass Class | System.Management Namespace

Show: