Поделиться через


Метод LogProviderBase.InitializeLogProvider

Called when the log provider is added to a package.

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

Синтаксис

'Декларация
Public Overridable Sub InitializeLogProvider ( _
    connections As Connections, _
    events As IDTSInfoEvents, _
    refTracker As ObjectReferenceTracker _
)
'Применение
Dim instance As LogProviderBase 
Dim connections As Connections 
Dim events As IDTSInfoEvents 
Dim refTracker As ObjectReferenceTracker

instance.InitializeLogProvider(connections, _
    events, refTracker)
public virtual void InitializeLogProvider(
    Connections connections,
    IDTSInfoEvents events,
    ObjectReferenceTracker refTracker
)
public:
virtual void InitializeLogProvider(
    Connections^ connections, 
    IDTSInfoEvents^ events, 
    ObjectReferenceTracker^ refTracker
)
abstract InitializeLogProvider : 
        connections:Connections * 
        events:IDTSInfoEvents * 
        refTracker:ObjectReferenceTracker -> unit  
override InitializeLogProvider : 
        connections:Connections * 
        events:IDTSInfoEvents * 
        refTracker:ObjectReferenceTracker -> unit
public function InitializeLogProvider(
    connections : Connections, 
    events : IDTSInfoEvents, 
    refTracker : ObjectReferenceTracker
)

Параметры

Замечания

The InitializeLogProvider method is called when a log provider is added to a package, or when a package is loaded that contains the log provider.

You use this method to store the Connections and DesignEvents properties of the package in member variables so they can be used later.

См. также

Справочник

LogProviderBase Класс

Пространство имен Microsoft.SqlServer.Dts.Runtime