Share via


IDTSPackage100.Validate Method

Definition

Allows the container 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::IDTSVariables100 ^ pVariables, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSEvents100 ^ pEvents, Microsoft::SqlServer::Dts::Runtime::Wrapper::IDTSLogging100 ^ pLog);
[System.Runtime.InteropServices.DispId(4)]
public Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult Validate (Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 pConnections, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 pVariables, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 pEvents, Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 pLog);
[<System.Runtime.InteropServices.DispId(4)>]
abstract member Validate : Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnections100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSVariables100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100 * Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSLogging100 -> Microsoft.SqlServer.Dts.Runtime.Wrapper.DTSExecResult
Public Function Validate (pConnections As IDTSConnections100, pVariables As IDTSVariables100, pEvents As IDTSEvents100, pLog As IDTSLogging100) As DTSExecResult

Parameters

pConnections
IDTSConnections100

The collection of connections for the container.

pVariables
IDTSVariables100

The collection of variables for the container.

pEvents
IDTSEvents100

An interface to raise events.

pLog
IDTSLogging100

An IDTSLogging100 interface.

Returns

A DTSExecResult enumeration that indicates the outcome of the validation.

Implements

Attributes

Remarks

This interface is implemented by the Package and PackageNeutral interfaces.

Applies to