Editja

WqlObjectQuery Class

Definition

Represents a WMI data query in WQL format.

public ref class WqlObjectQuery : System::Management::ObjectQuery
public class WqlObjectQuery : System.Management.ObjectQuery
type WqlObjectQuery = class
    inherit ObjectQuery
Public Class WqlObjectQuery
Inherits ObjectQuery
Inheritance
Derived

Constructors

Name Description
WqlObjectQuery()

Initializes a new instance of the WqlObjectQuery class. This is the parameterless constructor.

WqlObjectQuery(String)

Initializes a new instance of the WqlObjectQuery class initialized to the specified query.

Properties

Name Description
QueryLanguage

Gets the language of the query.

QueryString

Gets or sets the query in text format.

(Inherited from ManagementQuery)

Methods

Name Description
Clone()

Creates a copy of the object.

ParseQuery(String)

Parses the query string and sets the property values accordingly. If the query is valid, the class name property and condition property of the query will be parsed.

(Inherited from ManagementQuery)

Applies to