ForEachEnumerator.InitializeForEachEnumerator Método
Initializes the properties associated with the task. This method is called by the runtime and is not used in code.
Espacio de nombres: Microsoft.SqlServer.Dts.Runtime
Ensamblado: Microsoft.SqlServer.ManagedDTS (en Microsoft.SqlServer.ManagedDTS.dll)
Sintaxis
'Declaración
Public Overridable Sub InitializeForEachEnumerator ( _
connections As Connections, _
events As IDTSInfoEvents, _
refTracker As ObjectReferenceTracker _
)
'Uso
Dim instance As ForEachEnumerator
Dim connections As Connections
Dim events As IDTSInfoEvents
Dim refTracker As ObjectReferenceTracker
instance.InitializeForEachEnumerator(connections, _
events, refTracker)
public virtual void InitializeForEachEnumerator(
Connections connections,
IDTSInfoEvents events,
ObjectReferenceTracker refTracker
)
public:
virtual void InitializeForEachEnumerator(
Connections^ connections,
IDTSInfoEvents^ events,
ObjectReferenceTracker^ refTracker
)
abstract InitializeForEachEnumerator :
connections:Connections *
events:IDTSInfoEvents *
refTracker:ObjectReferenceTracker -> unit
override InitializeForEachEnumerator :
connections:Connections *
events:IDTSInfoEvents *
refTracker:ObjectReferenceTracker -> unit
public function InitializeForEachEnumerator(
connections : Connections,
events : IDTSInfoEvents,
refTracker : ObjectReferenceTracker
)
Parámetros
- connections
Tipo: Microsoft.SqlServer.Dts.Runtime.Connections
The Connections collection of the package.
- events
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSInfoEvents
The IDTSInfoEvents supplied by the package.
- refTracker
Tipo: Microsoft.SqlServer.Dts.Runtime.ObjectReferenceTracker
Reserved for future use. Use nulles una referencia NULL (Nothing en Visual Basic)..
Comentarios
The InitializeForEachEnumerator method is called when the ForEach enumerator is added to a package, or when a package is loaded that contains the enumerator.