Metodo ASExecuteDDLTask.ValidateDDL
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Verifies that the DDL task is properly configured.
Spazio dei nomi Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly: Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)
Sintassi
'Dichiarazione
Protected Overrides Function ValidateDDL ( _
variableDispenser As VariableDispenser, _
connections As Connections, _
<OutAttribute> ByRef ex As Exception _
) As Boolean
'Utilizzo
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
Parametri
- 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 nullriferimento Null (Nothing in Visual Basic). if no exception has occurred.
Valore restituito
Tipo: System.Boolean
true if the validation succeeded; otherwise, false.
Vedere anche
Riferimento
Spazio dei nomi Microsoft.DataTransformationServices.Tasks.DTSProcessingTask