Редактиране

Споделяне чрез


__EventConsumerProviderRegistration class

The __EventConsumerProviderRegistration system class registers event consumer providers with 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 __EventConsumerProviderRegistration : __ProviderRegistration
{
  string         ConsumerClassNames[];
  __Provider REF provider;
};

Members

The __EventConsumerProviderRegistration class has these types of members:

Properties

The __EventConsumerProviderRegistration class has these properties.

ConsumerClassNames

Data type: string array

Access type: Read/write

Array of names of the logical consumer classes that the event consumer provider supports.

provider

Data type: __Provider

Access type: Read-only

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

Remarks

The __EventConsumerProviderRegistration 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 Consumer Provider

Writing an Event Consumer Provider