Share via


ASExecuteDDLTask.ValidateDDL Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Verifies that the DDL task is properly configured.

Namespace:  Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly:  Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)

Syntax

'Declaration
Protected Overrides Function ValidateDDL ( _
    variableDispenser As VariableDispenser, _
    connections As Connections, _
    <OutAttribute> ByRef ex As Exception _
) As Boolean
'Usage
Dim variableDispenser As VariableDispenser 
Dim connections As Connections 
Dim ex As Exception 
Dim returnValue As Boolean 

returnValue = Me.ValidateDDL(variableDispenser, _
    connections, ex)
protected override bool ValidateDDL(
    VariableDispenser variableDispenser,
    Connections connections,
    out Exception ex
)
protected:
virtual bool ValidateDDL(
    VariableDispenser^ variableDispenser, 
    Connections^ connections, 
    [OutAttribute] Exception^% ex
) override
abstract ValidateDDL : 
        variableDispenser:VariableDispenser * 
        connections:Connections * 
        ex:Exception byref -> bool  
override ValidateDDL : 
        variableDispenser:VariableDispenser * 
        connections:Connections * 
        ex:Exception byref -> bool
protected override function ValidateDDL(
    variableDispenser : VariableDispenser, 
    connections : Connections, 
    ex : Exception
) : boolean

Parameters

  • ex
    Type: System.Exception%
    When this method returns, contains the exception during validation if any or nulla null reference (Nothing in Visual Basic) if no exception has occurred.

Return Value

Type: System.Boolean
true if the validation succeeded; otherwise, false.

See Also

Reference

ASExecuteDDLTask Class

Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace