Compartilhar via


Método GetDataSource

Retrieves the DataSource object for a connection.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (em Microsoft.SqlServer.Dts.Design.dll)

Sintaxe

'Declaração
Function GetDataSource ( _
    connectionManager As ConnectionManager _
) As Object
'Uso
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

Parâmetros

Valor de retorno

Tipo: System. . :: . .Object
An object that contains the DataSource of the connection.