Condividi tramite


Metodo Execute

Runs the Data Profiling task.

Spazio dei nomi  Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
Assembly:  Microsoft.SqlServer.DataProfilingTask (in Microsoft.SqlServer.DataProfilingTask.dll)

Sintassi

'Dichiarazione
Public Overrides Function Execute ( _
    connections As Connections, _
    variableDispenser As VariableDispenser, _
    componentEvents As IDTSComponentEvents, _
    log As IDTSLogging, _
    transaction As Object _
) As DTSExecResult
'Utilizzo
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

Parametri

  • transaction
    Tipo: System. . :: . .Object
    The transaction object of which the container is a part. This value can be nullNothingnullptrunitriferimento Null (Nothing in Visual Basic)..

Valore restituito

Tipo: Microsoft.SqlServer.Dts.Runtime. . :: . .DTSExecResult
One of the enumeration values that indicates whether the execution of the task succeeded or failed.

Osservazioni

For more information about the inherited Execute method, see Execute.