Export (0) Print
Expand All

LoggingOptions Class

Contains members that regulate what information is included or excluded from logging. This class cannot be inherited.

Object
  Microsoft.SqlServer.Dts.Runtime.DtsObject
    Microsoft.SqlServer.Dts.Runtime.LoggingOptions

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

public sealed class LoggingOptions : DtsObject, 
	IDTSPersist

The LoggingOptions type exposes the following members.

  NameDescription
Public propertyEventFilterGets or sets an array that contains the names of the events that are the subject of the filtering options.
Public propertyEventFilterKindGets or sets a value that describes the kind of event filter that is set, whether included or excluded.
Public propertySelectedLogProvidersA collection of log providers selected on the container. A log provider can only be selected for a container when the container's LoggingMode is set to Enabled.
Top

  NameDescription
Public methodEqualsDetermines whether two object instances are equal. (Inherited from DtsObject.)
Public methodGetColumnFilterReturns column filter for the specified event.
Public methodGetColumnFilteredEventsReturns a string array that contains a list of events that have a column filter set.
Public methodGetHashCodeReturns the hash code for this instance. (Inherited from DtsObject.)
Public methodGetType (Inherited from Object.)
Public methodLoadFromXMLThis method is not callable by your application code. To load a package saved as .xml, use the Application.LoadPackage method.
Public methodSaveToXMLThis method is not callable by your application code. To save a package as .xml, use the Application.SaveToXml method.
Public methodSetColumnFilterSets column filter for the specified event.
Public methodToString (Inherited from Object.)
Top

Logging options add a filtering capability to restrict logging output to only those items you are interested in, which reduces impact on the system in terms of performance. Logging is meant for diagnostic and analytic usage, rather than progress tracking.

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Community Additions

ADD
Show:
© 2014 Microsoft