Класс LogProviderBase

Defines the abstract base class for managed log providers.

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

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

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

Синтаксис

'Декларация
Public MustInherit Class LogProviderBase _
    Inherits DtsObject
'Применение
Dim instance As LogProviderBase
public abstract class LogProviderBase : DtsObject
public ref class LogProviderBase abstract : public DtsObject
[<AbstractClassAttribute>]
type LogProviderBase =  
    class
        inherit DtsObject
    end
public abstract class LogProviderBase extends DtsObject

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

Конструкторы

  Имя Описание
Защищенный метод LogProviderBase Initializes an instance of the LogProviderBase class.

В начало

Свойства

  Имя Описание
Открытое свойство ConfigString Gets or sets a string used to configure the log provider.
Открытое свойство Version Gets the version of the log provider.

В начало

Методы

  Имя Описание
Открытый метод CanUpdate Determines whether a log provider supports upgrading the package XML to a newer version of the log provider.
Открытый метод CloseLog Called at the end of package execution.
Открытый метод Equals Determines whether two object instances are equal. (Производный от DtsObject.)
Защищенный метод Finalize (Производный от Object.)
Открытый метод GetHashCode Returns the hash code for this instance. (Производный от DtsObject.)
Открытый метод GetType (Производный от Object.)
Открытый метод InitializeLogProvider Called when the log provider is added to a package.
Открытый метод Log Called when a runtime event occurs during package execution.
Защищенный метод MemberwiseClone (Производный от Object.)
Открытый метод OpenLog Called at the beginning of package execution to establish connections to external data sources.
Открытый метод ToString (Производный от Object.)
Открытый метод Update Called to upgrade the XML persisted by a previous version of the log provider.
Открытый метод Validate Called to confirm the log provider is properly configured.

В начало

Замечания

To create your own log provider, derive from the LogProviderBase class.

The LogProviderBase is used in conjunction with the DtsLogProviderAttribute to implement a custom log provider.

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

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