ASExecuteDDLTask.InternalExecute 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Executes the DDL task internally.
命名空间: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集: Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)
语法
声明
Protected Overrides Function InternalExecute ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
events As IDTSComponentEvents, _
log As IDTSLogging, _
transaction As Object _
) As DTSExecResult
用法
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 = Me.InternalExecute(connections, _
variableDispenser, events, log, transaction)
protected override DTSExecResult InternalExecute(
Connections connections,
VariableDispenser variableDispenser,
IDTSComponentEvents events,
IDTSLogging log,
Object transaction
)
protected:
virtual DTSExecResult InternalExecute(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSComponentEvents^ events,
IDTSLogging^ log,
Object^ transaction
) override
abstract InternalExecute :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
override InternalExecute :
connections:Connections *
variableDispenser:VariableDispenser *
events:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
protected override function InternalExecute(
connections : Connections,
variableDispenser : VariableDispenser,
events : IDTSComponentEvents,
log : IDTSLogging,
transaction : Object
) : DTSExecResult
参数
- connections
类型:Microsoft.SqlServer.Dts.Runtime.Connections
A Connections collection for the task.
- variableDispenser
类型:Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A Variables collection for the task.
- events
类型:Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
An IDTSComponentEvents interface to raise events.
- log
类型:Microsoft.SqlServer.Dts.Runtime.IDTSLogging
An IDTSLogging interface.
- 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.
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间