Compartir a través de


ForEachEnumeratorHostClass.Validate Método

Definición

Permite al host determinar si hay valores de configuración no válidos que impedirán al ForEachItemEnumeratorClass ejecutarse correctamente.

public:
 virtual 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) = Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSForEachEnumerator100::Validate;
public virtual 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);
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
override this.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 Overridable Function Validate (pConnections As IDTSConnections100, pVariableDispenser As IDTSVariableDispenser100, pEvents As IDTSInfoEvents100, pLog As IDTSLogging100) As DTSExecResult

Parámetros

pConnections
IDTSConnections100

Una colección de conexiones utilizadas por ForEachItemEnumeratorClass.

pVariableDispenser
IDTSVariableDispenser100

Un objeto IDTSVariableDispenser100 para bloquear variables.

pEvents
IDTSInfoEvents100

Objeto que implementa la interfaz IDTSInfoEvents100.

pLog
IDTSLogging100

Objeto que implementa la interfaz IDTSLogging100.

Devoluciones

Una enumeración DTSExecResult que indica el resultado de la validación.

Implementaciones

Se aplica a