ASTaskBase.ValidateConnection 方法
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Validates the task connection.
命名空间: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集: Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)
语法
声明
Protected Overridable Function ValidateConnection ( _
connections As Connections _
) As ConnectionManager
用法
Dim connections As Connections
Dim returnValue As ConnectionManager
returnValue = Me.ValidateConnection(connections)
protected virtual ConnectionManager ValidateConnection(
Connections connections
)
protected:
virtual ConnectionManager^ ValidateConnection(
Connections^ connections
)
abstract ValidateConnection :
connections:Connections -> ConnectionManager
override ValidateConnection :
connections:Connections -> ConnectionManager
protected function ValidateConnection(
connections : Connections
) : ConnectionManager
参数
- connections
类型:Microsoft.SqlServer.Dts.Runtime.Connections
The connection to be validated.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The validated connection.
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间