ServCompMQTask.Execute 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Runs the task.
네임스페이스: Microsoft.SqlServer.Dts.Tasks.MessageQueueTask
어셈블리: Microsoft.SqlServer.MSMQTask(Microsoft.SqlServer.MSMQTask.dll)
구문
‘선언
Public Function Execute ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSComponentEvents, _
log As IDTSLogging, _
transaction As Object _
) As DTSExecResult
‘사용 방법
Dim instance As ServCompMQTask
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 DTSExecResult Execute(
Connections connections,
VariableDispenser variableDispenser,
IDTSComponentEvents events,
IDTSLogging log,
Object transaction
)
public:
DTSExecResult Execute(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSComponentEvents^ events,
IDTSLogging^ log,
Object^ transaction
)
member Execute :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
public function Execute(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSComponentEvents,
log : IDTSLogging,
transaction : Object
) : DTSExecResult
매개 변수
- connections
유형: Microsoft.SqlServer.Dts.Runtime.Connections
A collection of connections used by the task.
- variableDispenser
유형: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A VariableDispenser object for locking variables.
- events
유형: Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
An object implementing the IDTSComponentEvents interface.
- log
유형: Microsoft.SqlServer.Dts.Runtime.IDTSLogging
An object implementing the IDTSLogging interface.
- transaction
유형: System.Object
The transaction objects that the container is a part of. The runtime provides the transaction for the container, based on the TransactionOption property. This value can be nullnull 참조(Visual Basic에서는 Nothing).
반환 값
유형: Microsoft.SqlServer.Dts.Runtime.DTSExecResult
A value from the DTSExecResult enumeration.