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.