Bagikan melalui


IDTSConnectionManager100.Validate Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Validates the connection and returns an enumeration that indicates success or failure.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Function Validate ( _
    pEvents As IDTSInfoEvents100 _
) As DTSExecResult
'Usage
Dim instance As IDTSConnectionManager100 
Dim pEvents As IDTSInfoEvents100 
Dim returnValue As DTSExecResult 

returnValue = instance.Validate(pEvents)
DTSExecResult Validate(
    IDTSInfoEvents100 pEvents
)
DTSExecResult Validate(
    [InAttribute] IDTSInfoEvents100^ pEvents
)
abstract Validate : 
        pEvents:IDTSInfoEvents100 -> DTSExecResult
function Validate(
    pEvents : IDTSInfoEvents100
) : DTSExecResult

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
One of the enumeration values of the DTSExecResult enumeration.

See Also

Reference

IDTSConnectionManager100 Interface

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace