Metodo DataProfilingTask.Validate
Determines whether the Data Profiling task is correctly configured.
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
Assembly: Microsoft.SqlServer.DataProfilingTask (in Microsoft.SqlServer.DataProfilingTask.dll)
Sintassi
'Dichiarazione
Public Overrides Function Validate ( _
connections As Connections, _
variableDispenser As VariableDispenser, _
componentEvents As IDTSComponentEvents, _
log As IDTSLogging _
) As DTSExecResult
'Utilizzo
Dim instance As DataProfilingTask
Dim connections As Connections
Dim variableDispenser As VariableDispenser
Dim componentEvents As IDTSComponentEvents
Dim log As IDTSLogging
Dim returnValue As DTSExecResult
returnValue = instance.Validate(connections, _
variableDispenser, componentEvents, _
log)
public override DTSExecResult Validate(
Connections connections,
VariableDispenser variableDispenser,
IDTSComponentEvents componentEvents,
IDTSLogging log
)
public:
virtual DTSExecResult Validate(
Connections^ connections,
VariableDispenser^ variableDispenser,
IDTSComponentEvents^ componentEvents,
IDTSLogging^ log
) override
abstract Validate :
connections:Connections *
variableDispenser:VariableDispenser *
componentEvents:IDTSComponentEvents *
log:IDTSLogging -> DTSExecResult
override Validate :
connections:Connections *
variableDispenser:VariableDispenser *
componentEvents:IDTSComponentEvents *
log:IDTSLogging -> DTSExecResult
public override function Validate(
connections : Connections,
variableDispenser : VariableDispenser,
componentEvents : IDTSComponentEvents,
log : IDTSLogging
) : DTSExecResult
Parametri
- connections
Tipo: Microsoft.SqlServer.Dts.Runtime.Connections
A Connections collection through which the task can access connections in the package.
- variableDispenser
Tipo: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A VariableDispenser object through which the task can access variables in the package.
- componentEvents
Tipo: Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents
An object, that implements the IDTSComponentEvents interface, through which the task can raise events to the package.
- log
Tipo: 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.
Valore restituito
Tipo: Microsoft.SqlServer.Dts.Runtime.DTSExecResult
One of the enumeration values that indicates whether the validation of the task succeeded or failed.
Osservazioni
For more information about the inherited Validate method, see Validate.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.SqlServer.Dts.Tasks.DataProfilingTask