IDTSForEachEnumerator100.Validate Methode

Definition

Ermöglicht es dem Enumerator zu bestimmen, ob er ungültige Einstellungen enthält, die eine erfolgreiche Ausführung verhindern.

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

Parameter

pConnections
IDTSConnections100

Eine Sammlung von Verbindungen, die vom Zähler verwendet werden.

pVariableDispenser
IDTSVariableDispenser100

Das Objekt zum Sperren von Variablen.

pEvents
IDTSInfoEvents100

Ein Objekt, das die IDTSInfoEvents100 Schnittstelle implementiert, um Ereignisse (Fehler, Warnungen usw.) während der Persistenz auszulösen.

pLog
IDTSLogging100

Ein Objekt, das die IDTSLogging100 Schnittstelle implementiert.

Gibt zurück

Ein Wert aus der DTSExecResult Aufzählung, der den Erfolg oder Misserfolg der Validierung anzeigt.

Attribute

Hinweise

Weitere Informationen finden Sie unter IDTSForEachEnumerator.

Gilt für: