This documentation is archived and is not being maintained.

ManagementBaseObject Members

ManagementBaseObject overview

Public Properties

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

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

public propertyProperties Gets or sets a collection of PropertyData objects describing the properties of the management object.
public propertyQualifiers 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 propertySite (inherited from Component) Gets or sets the ISite of the Component.
public propertySystemProperties 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 Returns a copy of the object.
public methodCompareTo Compares this object to another, based on specified options.
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 methodDispose (inherited from Component) Overloaded. Releases the resources used by the Component.
public methodEquals Overridden. Compares two management objects.
public methodGetHashCode 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 methodGetPropertyQualifierValue Returns the value of the specified property qualifier.
public methodGetPropertyValue Gets an equivalent accessor to a property's value.
public methodGetQualifierValue Gets the value of the specified qualifier.
public methodGetText 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 methodSetPropertyQualifierValue Sets the value of the specified property qualifier.
public methodSetPropertyValue Sets the value of the named property.
public methodSetQualifierValue Sets the value of the named qualifier.
public methodToString (inherited from Object) Returns a String that represents the current Object.

Public Type Conversions

public operatorstatic (Shared in Visual Basic)ManagementBaseObject to IntPtr Conversion Provides the internal WMI object represented by a ManagementObject.

See remarks with regard to usage.

Public Events

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

Protected Constructors

protected constructorManagementBaseObject Constructor Initializes a new instance of the ManagementBaseObject class that is serializable.

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

ManagementBaseObject Class | System.Management Namespace