ManagementQuery.QueryString 属性

定义

以文本格式获取或设置查询。Gets or sets the query in text format.

public:
 virtual property System::String ^ QueryString { System::String ^ get(); void set(System::String ^ value); };
public virtual string QueryString { get; set; }
member this.QueryString : string with get, set
Public Overridable Property QueryString As String

属性值

String

返回一个包含查询的 String 值。Returns a String value containing the query.

注解

属性值Property Value

如果查询对象是用无参数构造的,则属性为 null,直到专门设置。If the query object is constructed with no parameters, the property is null until specifically set. 如果对象是使用指定的查询构造的,则属性将返回指定的查询字符串。If the object was constructed with a specified query, the property returns the specified query string.

.NET Framework 安全性.NET Framework Security

对直接调用方的完全信任。Full trust for the immediate caller. 此成员不能由部分信任的代码使用。This member cannot be used by partially trusted code. 有关详细信息,请参阅 从部分受信任的代码使用库For more information, see Using Libraries from Partially Trusted Code.

适用于