Szerkesztés

Megosztás a következőn keresztül:


__EventProviderRegistration class

The __EventProviderRegistration system class is used to register event providers with Windows Management Instrumentation (WMI).

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

Syntax

class __EventProviderRegistration : __ProviderRegistration
{
  string         EventQueryList[];
  __Provider REF provider;
};

Members

The __EventProviderRegistration class has these types of members:

Properties

The __EventProviderRegistration class has these properties.

EventQueryList

Data type: string array

Access type: Read/write

One or more Windows Management Instrumentation Query Language (WQL) queries that describe the events that the event provider supports.

provider

Data type: __Provider

Access type: Read-only

Object path to the event provider. This property is inherited from __ProviderRegistration.

Remarks

Only administrators can register or delete an event provider by creating an instance of __Win32Provider and __EventProviderRegistration. The __EventProviderRegistration class is derived from __ProviderRegistration.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Namespace
All WMI namespaces

See also

__ProviderRegistration

WMI System Classes

Registering an Event Provider

Writing an Event Provider