Partager via


CreateConnectionFromDataSource méthode

Displays a list of existing data sources and allows users to create connection managers based on data sources.

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

Syntaxe

'Déclaration
Function CreateConnectionFromDataSource As ArrayList
'Utilisation
Dim instance As IDtsConnectionService
Dim returnValue As ArrayList

returnValue = instance.CreateConnectionFromDataSource()
ArrayList CreateConnectionFromDataSource()
ArrayList^ CreateConnectionFromDataSource()
abstract CreateConnectionFromDataSource : unit -> ArrayList 
function CreateConnectionFromDataSource() : ArrayList

Valeur de retour

Type : System.Collections. . :: . .ArrayList
An ArrayList that contains the collection of the connections created. An empty collection is returned if an error occurs, or if the user cancels the request.