Export (0) Print
Expand All

ManagementClass Methods

The ManagementClass type exposes the following members.

  Name Description
Public method Clone Returns a copy of the object. (Overrides ManagementObject.Clone().)
Public method CompareTo Compares this object to another, based on specified options. (Inherited from ManagementBaseObject.)
Public method CopyTo(ManagementPath) Copies the object to a different location. (Inherited from ManagementObject.)
Public method CopyTo(String) Copies the object to a different location. (Inherited from ManagementObject.)
Public method CopyTo(ManagementOperationObserver, ManagementPath) Copies the object to a different location, asynchronously. (Inherited from ManagementObject.)
Public method CopyTo(ManagementOperationObserver, String) Copies the object to a different location, asynchronously. (Inherited from ManagementObject.)
Public method CopyTo(ManagementPath, PutOptions) Copies the object to a different location. (Inherited from ManagementObject.)
Public method CopyTo(String, PutOptions) Copies the object to a different location. (Inherited from ManagementObject.)
Public method CopyTo(ManagementOperationObserver, ManagementPath, PutOptions) Copies the object to a different location, asynchronously. (Inherited from ManagementObject.)
Public method CopyTo(ManagementOperationObserver, String, PutOptions) Copies the object to a different location, asynchronously. (Inherited from ManagementObject.)
Public method CreateInstance Initializes a new instance of the WMI class.
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() Deletes the object. (Inherited from ManagementObject.)
Public method Delete(DeleteOptions) Deletes the object. (Inherited from ManagementObject.)
Public method Delete(ManagementOperationObserver) Deletes the object. (Inherited from ManagementObject.)
Public method Delete(ManagementOperationObserver, DeleteOptions) Deletes the object. (Inherited from ManagementObject.)
Public method Derive Derives a new class from this class.
Public method Dispose() Releases all resources used by the Component. (Inherited from ManagementObject.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from 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() Binds WMI class information to the management object. (Inherited from ManagementObject.)
Public method Get(ManagementOperationObserver) Binds to the management object asynchronously. (Inherited from ManagementObject.)
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 GetInstances() Returns the collection of all instances of the class.
Public method GetInstances(EnumerationOptions) Returns the collection of all instances of the class using the specified options.
Public method GetInstances(ManagementOperationObserver) Returns the collection of all instances of the class, asynchronously.
Public method GetInstances(ManagementOperationObserver, EnumerationOptions) Returns the collection of all instances of the class, asynchronously, using the specified options.
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. (Inherited from ManagementObject.)
Protected method GetObjectData Populates a SerializationInfo with the data necessary to deserialize the field represented by this instance. (Overrides ManagementObject.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() Gets a collection of objects related to the object (associators). (Inherited from ManagementObject.)
Public method 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. (Inherited from ManagementObject.)
Public method GetRelated(String) Gets a collection of objects related to the object (associators). (Inherited from ManagementObject.)
Public method GetRelated(ManagementOperationObserver, String) Gets a collection of objects related to the object (associators). (Inherited from ManagementObject.)
Public method GetRelated(String, String, String, String, String, String, Boolean, EnumerationOptions) Gets a collection of objects related to the object (associators). (Inherited from ManagementObject.)
Public method GetRelated(ManagementOperationObserver, String, String, String, String, String, String, Boolean, EnumerationOptions) Gets a collection of objects related to the object (associators). (Inherited from ManagementObject.)
Public method GetRelatedClasses() Retrieves classes related to the WMI class.
Public method GetRelatedClasses(ManagementOperationObserver) Retrieves classes related to the WMI class, asynchronously.
Public method GetRelatedClasses(String) Retrieves classes related to the WMI class.
Public method GetRelatedClasses(ManagementOperationObserver, String) Retrieves classes related to the WMI class, asynchronously, given the related class name.
Public method GetRelatedClasses(String, String, String, String, String, String, EnumerationOptions) Retrieves classes related to the WMI class based on the specified options.
Public method GetRelatedClasses(ManagementOperationObserver, String, String, String, String, String, String, EnumerationOptions) Retrieves classes related to the WMI class, asynchronously, using the specified options.
Public method GetRelationshipClasses() Retrieves relationship classes that relate the class to others.
Public method GetRelationshipClasses(ManagementOperationObserver) Retrieves relationship classes that relate the class to others, asynchronously.
Public method GetRelationshipClasses(String) Retrieves relationship classes that relate the class to others, where the endpoint class is the specified class.
Public method GetRelationshipClasses(ManagementOperationObserver, String) Retrieves relationship classes that relate the class to the specified WMI class, asynchronously.
Public method GetRelationshipClasses(String, String, String, EnumerationOptions) Retrieves relationship classes that relate this class to others, according to specified options.
Public method GetRelationshipClasses(ManagementOperationObserver, String, String, String, EnumerationOptions) Retrieves relationship classes that relate the class according to the specified options, asynchronously.
Public method GetRelationships() Gets a collection of associations to the object. (Inherited from ManagementObject.)
Public method GetRelationships(ManagementOperationObserver) Gets a collection of associations to the object. (Inherited from ManagementObject.)
Public method GetRelationships(String) Gets a collection of associations to the object. (Inherited from ManagementObject.)
Public method GetRelationships(ManagementOperationObserver, String) Gets a collection of associations to the object. (Inherited from ManagementObject.)
Public method GetRelationships(String, String, String, Boolean, EnumerationOptions) Gets a collection of associations to the object. (Inherited from ManagementObject.)
Public method GetRelationships(ManagementOperationObserver, String, String, String, Boolean, EnumerationOptions) Gets a collection of associations to the object. (Inherited from ManagementObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetStronglyTypedClassCode(Boolean, Boolean) Generates a strongly-typed class for a given WMI class.
Public method GetStronglyTypedClassCode(CodeLanguage, String, String) Generates a strongly-typed class for a given WMI class. This function generates code for Visual Basic, C#, JScript, J#, or C++ depending on the input parameters.
Public method GetSubclasses() Returns the collection of all subclasses for the class.
Public method GetSubclasses(EnumerationOptions) Retrieves the subclasses of the class using the specified options.
Public method GetSubclasses(ManagementOperationObserver) Returns the collection of all classes derived from this class, asynchronously.
Public method GetSubclasses(ManagementOperationObserver, EnumerationOptions) Retrieves all classes derived from this class, asynchronously, using the specified options.
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(String, Object[]) Invokes a method on the object. (Inherited from ManagementObject.)
Public method InvokeMethod(ManagementOperationObserver, String, Object[]) Invokes a method on the object, asynchronously. (Inherited from ManagementObject.)
Public method InvokeMethod(String, ManagementBaseObject, InvokeMethodOptions) Invokes a method on the WMI object. The input and output parameters are represented as ManagementBaseObject objects. (Inherited from ManagementObject.)
Public method InvokeMethod(ManagementOperationObserver, String, ManagementBaseObject, InvokeMethodOptions) Invokes a method on the object, asynchronously. (Inherited from ManagementObject.)
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Put() Commits the changes to the object. (Inherited from ManagementObject.)
Public method Put(ManagementOperationObserver) Commits the changes to the object, asynchronously. (Inherited from ManagementObject.)
Public method Put(PutOptions) Commits the changes to the object. (Inherited from ManagementObject.)
Public method Put(ManagementOperationObserver, PutOptions) Commits the changes to the object asynchronously and using the specified options. (Inherited from ManagementObject.)
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. (Inherited from ManagementObject.)
Top

  Name Description
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.)
Top
Show:
© 2014 Microsoft