Share via


ASExecuteDDLTask.ValidateDDL Method

Definition

Verifies that the DDL task is properly configured.

protected:
 override bool ValidateDDL(Microsoft::SqlServer::Dts::Runtime::VariableDispenser ^ variableDispenser, Microsoft::SqlServer::Dts::Runtime::Connections ^ connections, [Runtime::InteropServices::Out] Exception ^ % ex);
protected override bool ValidateDDL (Microsoft.SqlServer.Dts.Runtime.VariableDispenser variableDispenser, Microsoft.SqlServer.Dts.Runtime.Connections connections, out Exception ex);
override this.ValidateDDL : Microsoft.SqlServer.Dts.Runtime.VariableDispenser * Microsoft.SqlServer.Dts.Runtime.Connections * Exception -> bool
Protected Overrides Function ValidateDDL (variableDispenser As VariableDispenser, connections As Connections, ByRef ex As Exception) As Boolean

Parameters

variableDispenser
VariableDispenser

A Variables collection for the task.

connections
Connections

A Connections collection for the task.

ex
Exception

When this method returns, contains the exception during validation if any or null if no exception has occurred.

Returns

true if the validation succeeded; otherwise, false.

Applies to