Share via


IDtsConnectionService.CreateConnectionFromDataSource Method

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 (in Microsoft.SqlServer.Dts.Design.dll)

Syntax

'Declaration
Function CreateConnectionFromDataSource As ArrayList
'Usage
Dim instance As IDtsConnectionService 
Dim returnValue As ArrayList 

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

Return Value

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.

See Also

Reference

IDtsConnectionService Interface

Microsoft.SqlServer.Dts.Runtime.Design Namespace