Export (0) Print
Expand All

ManagementClass Members

ManagementClass overview

Public Constructors

public constructorManagementClass Constructor Overloaded. Initializes a new instance of the ManagementClass class.

Public Properties

public propertyClassPath (inherited from ManagementObject) Overridden. Gets or sets the path to the object's class.
public propertyContainer (inherited from Component) Gets the IContainer that contains the Component.
public propertyDerivation Gets or sets an array containing all WMI classes in the inheritance hierarchy from this class to the top.
public propertyItem (inherited from ManagementBaseObject) Gets access to property values through [] notation.

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

public propertyMethods Gets or sets a collection of MethodData objects that represent the methods defined in the WMI class.
public propertyOptions (inherited from ManagementObject) Gets or sets additional information to use when retrieving the object.
public propertyPath Overridden. Gets or sets the path of the WMI class to which the ManagementClass object is bound.
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 (inherited from ManagementObject) 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. 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.

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

ManagementClass Class | System.Management Namespace

Show:
© 2014 Microsoft