Partilhar via


Método CreateConnectionFromDataSource

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

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

Sintaxe

'Declaração
Function CreateConnectionFromDataSource As ArrayList
'Uso
Dim instance As IDtsConnectionService
Dim returnValue As ArrayList

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

Valor de retorno

Tipo: 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.