DataProfilingTask.Execute 方法
Runs the Data Profiling task.
命名空间: Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
程序集: Microsoft.SqlServer.DataProfilingTask(在 Microsoft.SqlServer.DataProfilingTask.dll 中)
语法
声明
Public Overrides Function Execute ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
componentEvents As IDTSComponentEvents, _
log As IDTSLogging, _
transaction As Object _
) As DTSExecResult
用法
Dim instance As DataProfilingTask
Dim connections As Connections
Dim variableDispenser As VariableDispenser
Dim componentEvents As IDTSComponentEvents
Dim log As IDTSLogging
Dim transaction As Object
Dim returnValue As DTSExecResult
returnValue = instance.Execute(connections, _
variableDispenser, componentEvents, _
log, transaction)
public override DTSExecResult Execute(
Connections connections,
VariableDispenser variableDispenser,
IDTSComponentEvents componentEvents,
IDTSLogging log,
Object transaction
)
public:
virtual DTSExecResult Execute(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSComponentEvents^ componentEvents,
IDTSLogging^ log,
Object^ transaction
) override
abstract Execute :
connections:Connections *
variableDispenser:VariableDispenser *
componentEvents:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
override Execute :
connections:Connections *
variableDispenser:VariableDispenser *
componentEvents:IDTSComponentEvents *
log:IDTSLogging *
transaction:Object -> DTSExecResult
public override function Execute(
connections : Connections,
variableDispenser : VariableDispenser,
componentEvents : IDTSComponentEvents,
log : IDTSLogging,
transaction : Object
) : DTSExecResult
参数
- connections
类型:Microsoft.SqlServer.Dts.Runtime.Connections
A Connections collection through which the task can access connections in the package.
- variableDispenser
类型:Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A VariableDispenser object through which the task can access variables in the package.
- componentEvents
类型:Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
An object, that implements the IDTSComponentEvents interface, through which the task can raise events to the package.
- log
类型:Microsoft.SqlServer.Dts.Runtime.IDTSLogging
An object, that implements the IDTSLogging interface, through which the task can write messages to logs defined in the package.
- transaction
类型:System.Object
The transaction object of which the container is a part. This value can be nullnull 引用(在 Visual Basic 中为 Nothing).
返回值
类型:Microsoft.SqlServer.Dts.Runtime.DTSExecResult
One of the enumeration values that indicates whether the execution of the task succeeded or failed.
注释
For more information about the inherited Execute method, see Execute.