Поделиться через


Метод IDtsConnectionService.CreateConnectionFromDataSource

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

Пространство имен:  Microsoft.SqlServer.Dts.Runtime.Design
Сборка:  Microsoft.SqlServer.Dts.Design (в Microsoft.SqlServer.Dts.Design.dll)

Синтаксис

'Декларация
Function CreateConnectionFromDataSource As ArrayList
'Применение
Dim instance As IDtsConnectionService 
Dim returnValue As ArrayList 

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

Возвращаемое значение

Тип: 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.

См. также

Справочник

IDtsConnectionService Интерфейс

Пространство имен Microsoft.SqlServer.Dts.Runtime.Design