ASExecuteDDLTask.ValidateDDL 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Verifies that the DDL task is properly configured.
命名空间: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集: Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)
语法
声明
Protected Overrides Function ValidateDDL ( _
variableDispenser As VariableDispenser, _
connections As Connections, _
<OutAttribute> ByRef ex As Exception _
) As Boolean
用法
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
参数
- variableDispenser
类型:Microsoft.SqlServer.Dts.Runtime.VariableDispenser
A Variables collection for the task.
- connections
类型:Microsoft.SqlServer.Dts.Runtime.Connections
A Connections collection for the task.
- ex
类型:System.Exception%
When this method returns, contains the exception during validation if any or nullnull 引用(在 Visual Basic 中为 Nothing) if no exception has occurred.
返回值
类型:System.Boolean
true if the validation succeeded; otherwise, false.
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间