ObjectQuery Constructor (String, String)

 

Initializes a new instance of the ObjectQuery class for a specific query string and language.

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

public ObjectQuery(
	string language,
	string query
)

Parameters

language
Type: System.String

The query language in which this query is specified.

query
Type: System.String

The string representation of the query.

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
Show: