Класс LoggingOptions

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

Иерархия наследования

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime
Сборка:  Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)

Синтаксис

'Декларация
Public NotInheritable Class LoggingOptions _
    Inherits DtsObject _
    Implements IDTSPersist
'Применение
Dim instance As LoggingOptions
public sealed class LoggingOptions : DtsObject, 
    IDTSPersist
public ref class LoggingOptions sealed : public DtsObject, 
    IDTSPersist
[<SealedAttribute>]
type LoggingOptions =  
    class
        inherit DtsObject
        interface IDTSPersist
    end
public final class LoggingOptions extends DtsObject implements IDTSPersist

Тип LoggingOptions обеспечивает доступ к следующим элементам.

Свойства

  Имя Описание
Открытое свойство EventFilter Gets or sets an array that contains the names of the events that are the subject of the filtering options.
Открытое свойство EventFilterKind Gets or sets a value that describes the kind of event filter that is set, whether included or excluded.
Открытое свойство SelectedLogProviders A 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.

В начало

Методы

  Имя Описание
Открытый метод Equals Determines whether two object instances are equal. (Производный от DtsObject.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetColumnFilter Returns column filter for the specified event.
Открытый метод GetColumnFilteredEvents Returns a string array that contains a list of events that have a column filter set.
Открытый метод GetHashCode Returns the hash code for this instance. (Производный от DtsObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод LoadFromXML This method is not callable by your application code. To load a package saved as .xml, use the Application..::..LoadPackage method.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод SaveToXML This method is not callable by your application code. To save a package as .xml, use the Application..::..SaveToXml method.
Открытый метод SetColumnFilter Sets column filter for the specified event.
Открытый метод ToString (Производный от Object.)

В начало

Замечания

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.

Безопасность многопоточности

Любые открытые статический (Shared в Visual Basic) элементы этого типа потокобезопасны. Потокобезопасность с элементами экземпляров не гарантируется.