Export (0) Print
Expand All

ManagementQuery.QueryString Property

Gets or sets the query in text format.

Namespace:  System.Management
Assembly:  System.Management (in System.Management.dll)

public virtual string QueryString { get; set; }

Property Value

Type: System.String
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.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0, 1.1

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
© 2015 Microsoft