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

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

QueryLanguage

Gets the language of the query.

QueryString

Gets or sets the query in text format.

(Inherited from ManagementQuery)

Methods

Clone()

Creates a copy of the object.

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from 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)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to