Partager via


IDtsConnectionService.CreateConnectionFromDataSource Method

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 (in microsoft.sqlserver.dts.design.dll)

Syntaxe

'Déclaration
Function CreateConnectionFromDataSource As ArrayList
ArrayList CreateConnectionFromDataSource ()
ArrayList^ CreateConnectionFromDataSource ()
ArrayList CreateConnectionFromDataSource ()
function CreateConnectionFromDataSource () : ArrayList

Valeur de retour

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.

Sécurité des threads

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plateformes

Plateformes de développement

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Plateformes cibles

Pour obtenir la liste des plateformes prises en charge, consultez Configuration matérielle et logicielle requise pour l'installation de SQL Server 2005.

Voir aussi

Référence

IDtsConnectionService Interface
IDtsConnectionService Members
Microsoft.SqlServer.Dts.Runtime.Design Namespace