Compartir a través de


IDtsConnectionService.CreateConnectionFromDataSource Método

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

Espacio de nombres:  Microsoft.SqlServer.Dts.Runtime.Design
Ensamblado:  Microsoft.SqlServer.Dts.Design (en Microsoft.SqlServer.Dts.Design.dll)

Sintaxis

'Declaración
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 devuelto

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.

Vea también

Referencia

IDtsConnectionService Interfaz

Espacio de nombres Microsoft.SqlServer.Dts.Runtime.Design