共用方式為


Validate 方法

Determines whether the Data Profiling task is correctly configured.

命名空間:  Microsoft.SqlServer.Dts.Tasks.DataProfilingTask
組件:  Microsoft.SqlServer.DataProfilingTask (在 Microsoft.SqlServer.DataProfilingTask.dll 中)

語法

'宣告
Public Overrides Function Validate ( _
    connections As Connections, _
    variableDispenser As VariableDispenser, _
    componentEvents As IDTSComponentEvents, _
    log As IDTSLogging _
) As DTSExecResult
'用途
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

參數

傳回值

型別:Microsoft.SqlServer.Dts.Runtime. . :: . .DTSExecResult
One of the enumeration values that indicates whether the validation of the task succeeded or failed.

備註

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