共用方式為


ConnectionManagerCacheClass.Validate(IDTSInfoEvents100) Method

Definition

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

public:
 virtual Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Validate(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnectionManager100::Validate;
[System.Runtime.InteropServices.DispId(5)]
public virtual Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Validate (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents);
[<System.Runtime.InteropServices.DispId(5)>]
abstract member Validate : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
override this.Validate : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Overridable Function Validate (pEvents As IDTSInfoEvents100) As DTSExecResult

Parameters

pEvents
IDTSInfoEvents100

An object that implements the IDTSInfoEvents100 events interface to raise errors, warning, or informational events.

Returns

One of the enumeration values of the DTSExecResult enumeration.

Implements

Attributes

Remarks

For more information, see ConnectionManager.

Applies to