Share via


ConnectionManagerOdbcClass.Validate 메서드

이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.

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

네임스페이스:  Microsoft.SqlServer.Dts.Runtime.Wrapper
어셈블리:  Microsoft.SqlServer.DTSRuntimeWrap(Microsoft.SqlServer.DTSRuntimeWrap.dll)

구문

‘선언
Public Overridable Function Validate ( _
    pEvents As IDTSInfoEvents100 _
) As DTSExecResult
‘사용 방법
Dim instance As ConnectionManagerOdbcClass 
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

매개 변수

반환 값

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

구현

IDTSConnectionManager100.Validate(IDTSInfoEvents100)

참고 항목

참조

ConnectionManagerOdbcClass 클래스

Microsoft.SqlServer.Dts.Runtime.Wrapper 네임스페이스