ManagementQuery.QueryString Property


Gets or sets the query in text format.

 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

Property Value


Returns a String value containing the query.


Property Value

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 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.

Applies to