IDtsConnectionService.GetDataSource Method
Retrieves the DataSource object for a connection.
Namespace: Microsoft.SqlServer.Dts.Runtime.Design
Assembly: Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)
Syntax
'Declaration
Function GetDataSource ( _
connectionManager As ConnectionManager _
) As Object
'Usage
Dim instance As IDtsConnectionService
Dim connectionManager As ConnectionManager
Dim returnValue As Object
returnValue = instance.GetDataSource(connectionManager)
Object GetDataSource(
ConnectionManager connectionManager
)
Object^ GetDataSource(
ConnectionManager^ connectionManager
)
abstract GetDataSource :
connectionManager:ConnectionManager -> Object
function GetDataSource(
connectionManager : ConnectionManager
) : Object
Parameters
- connectionManager
Type: Microsoft.SqlServer.Dts.Runtime.ConnectionManager
The connection manager that you want the data source for.
Return Value
Type: System.Object
An object that contains the DataSource of the connection.