ManagementQuery Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
[<System.ComponentModel.TypeConverter(typeof(System.Management.ManagementQueryConverter))>]
type ManagementQuery = class
interface ICloneable
Public MustInherit Class ManagementQuery
Implements ICloneable
- Inheritance
-
ManagementQuery
- Derived
- Attributes
- Implements
Remarks
This class is abstract; only derivatives of it are actually used in the API.
Properties
QueryLanguage |
Gets or sets the query language used in the query string, defining the format of the query string. |
QueryString |
Gets or sets the query in text format. |
Methods
Clone() |
Returns a copy of the object. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
GetHashCode() |
Serves as the default hash function. (Inherited from Object) |
GetType() |
Gets the Type of the current instance. (Inherited from Object) |
MemberwiseClone() |
Creates a shallow copy of the current Object. (Inherited from Object) |
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() |
Returns a string that represents the current object. (Inherited from Object) |