QueryLanguage Property
Collapse the table of content
Expand the table of content

ManagementQuery.QueryLanguage Property


Gets or sets the query language used in the query string, defining the format of the query string.

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

public virtual string QueryLanguage { get; set; }

Property Value

Type: System.String

Returns a String value containing the format of the query string.

Can be set to any supported query language. "WQL" is the only value supported intrinsically by WMI.

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
© 2016 Microsoft