ManagementQuery 类
定义
提供所有管理查询对象的抽象基类。Provides an abstract base class for all management query objects.
public ref class ManagementQuery abstract : ICloneable
public abstract class ManagementQuery : ICloneable
[System.ComponentModel.TypeConverter(typeof(System.Management.ManagementQueryConverter))]
public abstract class ManagementQuery : ICloneable
type ManagementQuery = class
interface ICloneable
[<System.ComponentModel.TypeConverter(typeof(System.Management.ManagementQueryConverter))>]
type ManagementQuery = class
interface ICloneable
Public MustInherit Class ManagementQuery
Implements ICloneable
- 继承
-
ManagementQuery
- 派生
- 属性
- 实现
注解
此类为抽象类;只有它的派生是在 API 中实际使用的。This class is abstract; only derivatives of it are actually used in the API.
属性
| 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. |
方法
| Clone() |
返回对象的一个副本。Returns a copy of the object. |
| Equals(Object) |
确定指定对象是否等于当前对象。Determines whether the specified object is equal to the current object. (继承自 Object) |
| GetHashCode() |
作为默认哈希函数。Serves as the default hash function. (继承自 Object) |
| GetType() |
获取当前实例的 Type。Gets the Type of the current instance. (继承自 Object) |
| MemberwiseClone() |
创建当前 Object 的浅表副本。Creates a shallow copy of the current Object. (继承自 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. (继承自 Object) |