共用方式為


ManagedWrapper.Validate 方法 (IDTSConnections100, IDTSVariableDispenser100, IDTSComponentEvents100, IDTSLogging100)

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Validates the wrapper with specified connection, dispenser, component events and logs.

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

語法

'宣告
Public Function Validate ( _
    connections As IDTSConnections100, _
    variableDispenser As IDTSVariableDispenser100, _
    componentEvents As IDTSComponentEvents100, _
    log As IDTSLogging100 _
) As DTSExecResult
'用途
Dim instance As ManagedWrapper 
Dim connections As IDTSConnections100 
Dim variableDispenser As IDTSVariableDispenser100 
Dim componentEvents As IDTSComponentEvents100 
Dim log As IDTSLogging100 
Dim returnValue As DTSExecResult 

returnValue = instance.Validate(connections, _
    variableDispenser, componentEvents, _
    log)
public DTSExecResult Validate(
    IDTSConnections100 connections,
    IDTSVariableDispenser100 variableDispenser,
    IDTSComponentEvents100 componentEvents,
    IDTSLogging100 log
)
public:
virtual DTSExecResult Validate(
    IDTSConnections100^ connections, 
    IDTSVariableDispenser100^ variableDispenser, 
    IDTSComponentEvents100^ componentEvents, 
    IDTSLogging100^ log
) sealed
abstract Validate : 
        connections:IDTSConnections100 * 
        variableDispenser:IDTSVariableDispenser100 * 
        componentEvents:IDTSComponentEvents100 * 
        log:IDTSLogging100 -> DTSExecResult  
override Validate : 
        connections:IDTSConnections100 * 
        variableDispenser:IDTSVariableDispenser100 * 
        componentEvents:IDTSComponentEvents100 * 
        log:IDTSLogging100 -> DTSExecResult
public final function Validate(
    connections : IDTSConnections100, 
    variableDispenser : IDTSVariableDispenser100, 
    componentEvents : IDTSComponentEvents100, 
    log : IDTSLogging100
) : DTSExecResult

參數

傳回值

型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
The validated wrapper.

實作

IDTSTask100.Validate(IDTSConnections100, IDTSVariableDispenser100, IDTSComponentEvents100, IDTSLogging100)

請參閱

參考

ManagedWrapper 類別

Validate 多載

Microsoft.SqlServer.Dts.Runtime 命名空間