Linguaggio

IDTSForEachEnumerator100.Validate Metodo

Definizione

Permette all'enumeratore di determinare se contiene impostazioni non valide che impediranno l'esecuzione con successo.

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

Parametri

pConnections
IDTSConnections100

Una raccolta di collegamenti usata dall'enumeratore.

pVariableDispenser
IDTSVariableDispenser100

L'oggetto per le variabili di blocco.

pEvents
IDTSInfoEvents100

Un oggetto che implementa l'interfaccia IDTSInfoEvents100 per l'esecuzione di eventi di sparo (errori, avvisi e così via) durante la persistenza.

pLog
IDTSLogging100

Oggetto che implementa l'interfaccia IDTSLogging100 .

Valori restituiti

Un valore dell'enumerazione DTSExecResult che indica il successo o il fallimento della validazione.

Attributi

Commenti

Per altre informazioni, vedere IDTSForEachEnumerator.

Si applica a