共用方式為


MSFT_WmiFilterEvent class

The MSFT_WmiFilterEvent abstract troubleshooting class is the parent class for all permanent event consumer filter events.

The following syntax is simplified from Managed Object Format (MOF) code and includes all inherited properties. Properties and methods are in alphabetic order, not MOF order.

Syntax

class MSFT_WmiFilterEvent : MSFT_WmiEssEvent
{
  uint8  SECURITY_DESCRIPTOR[];
  uint64 TIME_CREATED;
  string Name;
  string Namespace;
  string Query;
  string QueryLanguage;
};

Members

The MSFT_WmiFilterEvent class has these types of members:

Properties

The MSFT_WmiFilterEvent class has these properties.

Name

Data type: string

Access type: Read-only

Name of the filter instance.

Namespace

Data type: string

Access type: Read-only

Namespace of the filter subscription.

Query

Data type: string

Access type: Read-only

Event query for the subscription filter.

QueryLanguage

Data type: string

Access type: Read-only

Query language used in the Query property. Currently only WMI Query Language (WQL) is supported.

Example: "WQL"

SECURITY_DESCRIPTOR

Data type: uint8 array

Access type: Read-only

Descriptor that the event provider uses to determine which users can receive the event. For more information, see WMI Security Constants.

This property is inherited from __Event.

TIME_CREATED

Data type: uint64

Access type: Read-only

Unique value that indicates the time the event is generated. This is a 64-bit value that represents the number of 100-nanosecond intervals after January 1, 1601. The information is in the Coordinated Universal Time (UTC) format.

For more information about using uint64 values in scripts, see Scripting in WMI.

This property is inherited from __Event.

Requirements

Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
Root\CIMV2
MOF
System.mof
DLL
WmiPrvSD.dll

See also

MSFT_WmiEssEvent

WMI Service Event Troubleshooting Classes

WMI Troubleshooting

WMI Troubleshooting

Monitoring Events

Receiving a WMI Event