IDTSConnectionManager100.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 中)
语法
声明
Function Validate ( _
pEvents As IDTSInfoEvents100 _
) As DTSExecResult
用法
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
参数
- pEvents
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100
An object that implements the IDTSInfoEvents100 events interface to raise errors, warning, or informational events.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
One of the enumeration values of the DTSExecResult enumeration.