ASTaskBase.ValidateConnection Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Validates the task connection.
Namespace: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
Assembly: Microsoft.SqlServer.ASTasks (in Microsoft.SqlServer.ASTasks.dll)
Syntax
'Declaration
Protected Overridable Function ValidateConnection ( _
connections As Connections _
) As ConnectionManager
'Usage
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
Parameters
- connections
Type: Microsoft.SqlServer.Dts.Runtime.Connections
The connection to be validated.
Return Value
Type: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The validated connection.
See Also
Reference
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask Namespace