Metodo GetDataSource

Retrieves the DataSource object for a connection.

Spazio dei nomi:  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Sintassi

'Dichiarazione
Function GetDataSource ( _
    connectionManager As ConnectionManager _
) As Object
'Utilizzo
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

Parametri

Valore restituito

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