ManagementQuery ManagementQuery ManagementQuery ManagementQuery Class

Definition

Provides an abstract base class for all management query objects.

public ref class ManagementQuery abstract : ICloneable
[System.ComponentModel.TypeConverter(typeof(System.Management.ManagementQueryConverter))]
public abstract class ManagementQuery : ICloneable
type ManagementQuery = class
    interface ICloneable
Public MustInherit Class ManagementQuery
Implements ICloneable
Inheritance
ManagementQueryManagementQueryManagementQueryManagementQuery
Derived
Attributes
Implements

Remarks

This class is abstract; only derivatives of it are actually used in the API.

Properties

QueryLanguage QueryLanguage QueryLanguage QueryLanguage

Gets or sets the query language used in the query string, defining the format of the query string.

QueryString QueryString QueryString QueryString

Gets or sets the query in text format.

Methods

Clone() Clone() Clone() Clone()

Returns a copy of the object.

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ParseQuery(String) ParseQuery(String) ParseQuery(String) ParseQuery(String)

Parses the query string and sets the property values accordingly. If the query is valid, the class name property and condition property of the query will be parsed.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to