ASExecuteDDLTask.ValidateDDL Método
Esta API admite la infraestructura de SQL Server 2012 y no está prevista su utilización directa desde el código.
Verifies that the DDL task is properly configured.
Espacio de nombres: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Ensamblado: Microsoft.SqlServer.ASTasks (en Microsoft.SqlServer.ASTasks.dll)
Sintaxis
'Declaración
Protected Overrides Function ValidateDDL ( _
variableDispenser As VariableDispenser, _
connections As Connections, _
<OutAttribute> ByRef ex As Exception _
) As Boolean
'Uso
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
Parámetros
- variableDispenser
Tipo: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A Variables collection for the task.
- connections
Tipo: Microsoft.SqlServer.Dts.Runtime.Connections
A Connections collection for the task.
- ex
Tipo: System.Exception%
When this method returns, contains the exception during validation if any or nulles una referencia NULL (Nothing en Visual Basic). if no exception has occurred.
Valor devuelto
Tipo: System.Boolean
true if the validation succeeded; otherwise, false.
Vea también
Referencia
Espacio de nombres Microsoft.DataTransformationServices.Tasks.DTSProcessingTask