Share via


DataProfilingTask.Validate Method

Definition

Determines whether the Data Profiling task is correctly configured.

public:
 override Microsoft::SqlServer::Dts::Runtime::DTSExecResult Validate(Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, Microsoft::SqlServer::Dts::Runtime::VariableDispenser ^ variableDispenser, Microsoft::SqlServer::Dts::Runtime::IDTSComponentEvents ^ componentEvents, Microsoft::SqlServer::Dts::Runtime::IDTSLogging ^ log);
public override Microsoft.SqlServer.Dts.Runtime.DTSExecResult Validate (Microsoft.SqlServer.Dts.Runtime.Connections connections, Microsoft.SqlServer.Dts.Runtime.VariableDispenser variableDispenser, Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents componentEvents, Microsoft.SqlServer.Dts.Runtime.IDTSLogging log);
override this.Validate : Microsoft.SqlServer.Dts.Runtime.Connections * Microsoft.SqlServer.Dts.Runtime.VariableDispenser * Microsoft.SqlServer.Dts.Runtime.IDTSComponentEvents * Microsoft.SqlServer.Dts.Runtime.IDTSLogging -> Microsoft.SqlServer.Dts.Runtime.DTSExecResult
Public Overrides Function Validate (connections As Connections, variableDispenser As VariableDispenser, componentEvents As IDTSComponentEvents, log As IDTSLogging) As DTSExecResult

Parameters

connections
Connections

A Connections collection through which the task can access connections in the package.

variableDispenser
VariableDispenser

A VariableDispenser object through which the task can access variables in the package.

componentEvents
IDTSComponentEvents

An object, that implements the IDTSComponentEvents interface, through which the task can raise events to the package.

log
IDTSLogging

An object, that implements the IDTSLogging interface, through which the task can write messages to logs defined in the package.

Returns

One of the enumeration values that indicates whether the validation of the task succeeded or failed.

Remarks

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

Applies to