Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
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
- variableDispenser
Type: Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A Variables collection for the task.
- connections
Type: Microsoft.SqlServer.Dts.Runtime.Connections
A Connections collection for the task.
- 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
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace