InitializeLogProvider 메서드
Called when the log provider is added to a package.
네임스페이스: Microsoft.SqlServer.Dts.Runtime
어셈블리: Microsoft.SqlServer.ManagedDTS.dll의 Microsoft.SqlServer.ManagedDTS
구문
‘선언
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
)
매개 변수
- connections
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
The Connections collection of the package.
- events
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSInfoEvents
The IDTSInfoEvents supplied by the package.
- refTracker
형식: Microsoft.SqlServer.Dts.Runtime. . :: . .ObjectReferenceTracker
Reserved for future use. Use nullNothingnullptrunitnull 참조(Visual Basic에서는 Nothing).
주의
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.