Aracılığıyla paylaş


IDTSForEachEnumerator100.Validate Method

Definition

Allows the enumerator to determine if it contains invalid settings that will prevent it from executing successfully.

public:
 Microsoft::SqlServer::Dts::Runtime::Wrapper::DTSExecResult Validate(Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSConnections100 ^ pConnections, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSVariableDispenser100 ^ pVariableDispenser, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSInfoEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog);
[System.Runtime.InteropServices.DispId(1610743812)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Validate (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 pVariableDispenser, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog);
[<System.Runtime.InteropServices.DispId(1610743812)>]
abstract member Validate : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariableDispenser100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSInfoEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Function Validate (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSInfoEvents100, pLog As IDTSLogging100) As DTSExecResult

Parameters

pConnections
IDTSConnections100

A collection of connections used by the enumerator.

pVariableDispenser
IDTSVariableDispenser100

The object for locking variables.

pEvents
IDTSInfoEvents100

An object that implements the IDTSInfoEvents100 interface for firing events (errors, warnings, and so on) during persistence.

pLog
IDTSLogging100

An object that implements the IDTSLogging100 interface.

Returns

A value from the DTSExecResult enumeration that indicates the success or failure of the validation.

Attributes

Remarks

For more information, see IDTSForEachEnumerator.

Applies to