ConnectionManagerAdoNetClass.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 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
參數
- 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.
實作
IDTSConnectionManager100.Validate(IDTSInfoEvents100)