GetDataSource méthode

Retrieves the DataSource object for a connection.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Design
Assembly :  Microsoft.SqlServer.Dts.Design (dans Microsoft.SqlServer.Dts.Design.dll)

Syntaxe

'Déclaration
Function GetDataSource ( _
    connectionManager As ConnectionManager _
) As Object
'Utilisation
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

Paramètres

Valeur de retour

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