WqlEventQuery Class

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a WMI event query in WQL format.

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

System::Object
  System.Management::ManagementQuery
    System.Management::EventQuery
      System.Management::WqlEventQuery

public ref class WqlEventQuery : EventQuery

NameDescription
System_CAPS_pubmethodWqlEventQuery()

Initializes a new instance of the WqlEventQuery class. This is the default constructor.

System_CAPS_pubmethodWqlEventQuery(String^)

Initializes a new instance of the WqlEventQuery class based on the given query string or event class name.

System_CAPS_pubmethodWqlEventQuery(String^, String^)

Initializes a new instance of the WqlEventQuery class for the specified event class name, with the specified condition.

System_CAPS_pubmethodWqlEventQuery(String^, String^, TimeSpan)

Initializes a new instance of the WqlEventQuery class with the specified event class name, condition, and grouping interval.

System_CAPS_pubmethodWqlEventQuery(String^, String^, TimeSpan, array<String^>^)

Initializes a new instance of the WqlEventQuery class with the specified event class name, condition, grouping interval, and grouping properties.

System_CAPS_pubmethodWqlEventQuery(String^, TimeSpan)

Initializes a new instance of the WqlEventQuery class for the specified event class, with the specified latency time.

System_CAPS_pubmethodWqlEventQuery(String^, TimeSpan, String^)

Initializes a new instance of the WqlEventQuery class with the specified event class name, polling interval, and condition.

System_CAPS_pubmethodWqlEventQuery(String^, TimeSpan, String^, TimeSpan, array<String^>^, String^)

Initializes a new instance of the WqlEventQuery class with the specified event class name, condition, grouping interval, grouping properties, and specified number of events.

NameDescription
System_CAPS_pubpropertyCondition

Gets or sets the condition to be applied to events of the specified class.

System_CAPS_pubpropertyEventClassName

Gets or sets the event class to query.

System_CAPS_pubpropertyGroupByPropertyList

Gets or sets properties in the event to be used for grouping events of the same type.

System_CAPS_pubpropertyGroupWithinInterval

Gets or sets the interval to be used for grouping events of the same type.

System_CAPS_pubpropertyHavingCondition

Gets or sets the condition to be applied to the aggregation of events, based on the number of events received.

System_CAPS_pubpropertyQueryLanguage

Gets the language of the query. (Overrides ManagementQuery::QueryLanguage.)

System_CAPS_pubpropertyQueryString

Gets or sets the string representing the query. (Overrides ManagementQuery::QueryString.)

System_CAPS_pubpropertyWithinInterval

Gets or sets the polling interval to be used in this query.

NameDescription
System_CAPS_protmethodBuildQuery()

Builds the query string according to the current property values.

System_CAPS_pubmethodClone()

Creates a copy of the object. (Overrides EventQuery::Clone().)

System_CAPS_pubmethodEquals(Object^)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_protmethodParseQuery(String^)

Parses the query string and sets the property values accordingly. (Overrides ManagementQuery::ParseQuery(String^).)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

.NET Framework
Available since 1.1

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: