.NET Framework Class Library
ManagementQuery.QueryString Property
Gets or sets the query in text format.
Assembly: System.Management (in System.Management.dll)
Syntax
Visual Basic
Public Overridable Property QueryString As String Get Set
C#
public virtual string QueryString { get; set; }
Visual C++
public: virtual property String^ QueryString { String^ get (); void set (String^ value); }
F#
abstract QueryString : string with get, set override QueryString : string with get, set
Remarks
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.
Version Information
.NET Framework
Supported in: 4, 3.5, 3.0, 2.0, 1.1, 1.0.NET Framework Client Profile
Supported in: 4, 3.5 SP1.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.
Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
See Also