Execute-Methode
Runs the task.
Namespace: Microsoft.SqlServer.Dts.Tasks.ActiveXScriptTask
Assembly: Microsoft.SqlServer.ActiveXScriptTask (in Microsoft.SqlServer.ActiveXScriptTask.dll)
Syntax
'Declaration
Public Overrides Function Execute ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSComponentEvents, _
log As IDTSLogging, _
transaction As Object _
) As DTSExecResult
'Usage
Dim instance As ActiveXScriptTask
Dim connections As Connections
Dim variableDispenser As VariableDispenser
Dim events As IDTSComponentEvents
Dim log As IDTSLogging
Dim transaction As Object
Dim returnValue As DTSExecResult
returnValue = instance.Execute(connections, _
variableDispenser, events, log, transaction)
public override DTSExecResult Execute(
Connections connections,
VariableDispenser variableDispenser,
IDTSComponentEvents events,
IDTSLogging log,
Object transaction
)
public:
virtual DTSExecResult Execute(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSComponentEvents^ events,
IDTSLogging^ log,
Object^ transaction
) override
abstract Execute :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
override Execute :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
public override function Execute(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSComponentEvents,
log : IDTSLogging,
transaction : Object
) : DTSExecResult
Parameter
- connections
Typ: Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
A collection of connections used by the task.
- variableDispenser
Typ: Microsoft.SqlServer.Dts.Runtime. . :: . .VariableDispenser
A VariableDispenser object for locking variables.
- events
Typ: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSComponentEvents
An object that implements the IDTSComponentEvents interface.
- log
Typ: Microsoft.SqlServer.Dts.Runtime. . :: . .IDTSLogging
An object that implements the IDTSLogging interface.
- transaction
Typ: System. . :: . .Object
The transaction object that the container is a part of. This value can be nullNothingnullptrunitein NULL-Verweis (Nothing in Visual Basic).
Rückgabewert
Typ: Microsoft.SqlServer.Dts.Runtime. . :: . .DTSExecResult
A value from the DTSExecResult enumeration.
Hinweise
Wichtig |
---|
Diese Funktion wird in der nächsten Version von Microsoft SQL Server entfernt. Verwenden Sie diese Funktion beim Entwickeln neuer Anwendungen nicht, und planen Sie so bald wie möglich das Ändern von Anwendungen, in denen es zurzeit verwendet wird. |