다음을 통해 공유


ExpressionTask.Execute 메서드

Runs the task.

네임스페이스:  Microsoft.SqlServer.Dts.Tasks.ExpressionTask
어셈블리:  Microsoft.SqlServer.ExpressionTask(Microsoft.SqlServer.ExpressionTask.dll)

구문

‘선언
Public Overrides Function Execute ( _
    connections As Connections, _
    variableDispenser As VariableDispenser, _
    events As IDTSComponentEvents, _
    log As IDTSLogging, _
    transaction As Object _
) As DTSExecResult
‘사용 방법
Dim instance As ExpressionTask 
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

매개 변수

  • transaction
    유형: System.Object
    The transaction object that the task is part of. This value can be nullnull 참조(Visual Basic에서는 Nothing).

반환 값

유형: Microsoft.SqlServer.Dts.Runtime.DTSExecResult
A value from the DTSExecResult enumeration.

참고 항목

참조

ExpressionTask 클래스

Microsoft.SqlServer.Dts.Tasks.ExpressionTask 네임스페이스