ManagementQuery.QueryString Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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