QueryString Property
Collapse the table of content
Expand the table of content

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.

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.

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
Available since 1.1
Return to top
© 2015 Microsoft