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 네임스페이스