EventProviders
- Artykuł
-
-
Represents a collection of event provider identifiers and event providers.
Element Hierarchy
Syntax
<EventProviders Operation = "Set" | "Add" | “Remove”>
<!-- Child elements -->
EventProviderId,
EventProvider
</EventProviders>
Attributes and Elements
Attributes
Attribute |
Description |
Data type |
Required |
Default |
Operation |
Indicates whether event providers should be set or added. |
This attribute can have one of the following values: |
No |
Set |
Child Elements
Element |
Description |
Requirement |
EventProviderId |
Represents an event provider identifier. |
Optional, zero or more. |
EventProvider |
Represents an event provider. |
Optional, zero or more. |
Parent Elements
Example
For managed scenarios, use the following event provider definition:
<EventCollectorId Value ="WPAEventCollector">
<EventProviders>
<EventProviderId Value="EventProvider_DotNetProvider" />
<EventProvider Name="Microsoft-Windows-WPA" Id="Microsoft-Windows-WPA" Stack="true">
</EventProvider>
</EventProviders>
</EventCollectorId>
Elements