Freigeben über


ConnectionManagerAdoNetClass.Validate-Methode

Diese API unterstützt die SQL Server 2012-Infrastruktur und ist nicht zur direkten Verwendung im Code bestimmt.

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
Public Overridable Function Validate ( _
    pEvents As IDTSInfoEvents100 _
) As DTSExecResult
'Usage
Dim instance As ConnectionManagerAdoNetClass 
Dim pEvents As IDTSInfoEvents100 
Dim returnValue As DTSExecResult 

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

Parameter

Rückgabewert

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

Implementiert

IDTSConnectionManager100.Validate(IDTSInfoEvents100)

Siehe auch

Verweis

ConnectionManagerAdoNetClass Klasse

Microsoft.SqlServer.Dts.Runtime.Wrapper-Namespace