DTSEventFilterKind Enumeration

 

Describes the kind of event filter that is set on logging.

Namespace:   Microsoft.SqlServer.Dts.Runtime
Assembly:  Microsoft.SqlServer.ManagedDTS (in Microsoft.SqlServer.ManagedDTS.dll)

public enum class DTSEventFilterKind

Member nameDescription
Exclusion

Indicates that the events added to the event filter are excluded from the event log.

Inclusion

Indicates that the events added to the event filter are included in the event log.

Events are included or excluded from the event log by setting the DTSEventFilterKind of the container. The DTSEventFilterKind enumeration contains two values: Exclusion and Inclusion, which indicate whether the events are included or excluded from the event log.

The following code example enables logging on a package, adds a log provider, then displays the default value of the EventFilterKind. Using the DTSEventFilterKind enumeration, the default value is changed.

No code example is currently available or this language may not be supported.

Sample Output:

EventFilterKind: Exclusion

EventFilterKind: Inclusion

Return to top
Show: