IDtsConnectionBaseService.GetConnectionsOfType 方法

Returns all connections of the specified type found in the current package.

命名空间:  Microsoft.SqlServer.Dts.Runtime.Design
程序集:  Microsoft.SqlServer.Dts.Design(在 Microsoft.SqlServer.Dts.Design.dll 中)

语法

声明
Function GetConnectionsOfType ( _
    connectionType As String _
) As ArrayList
用法
Dim instance As IDtsConnectionBaseService 
Dim connectionType As String 
Dim returnValue As ArrayList 

returnValue = instance.GetConnectionsOfType(connectionType)
ArrayList GetConnectionsOfType(
    string connectionType
)
ArrayList^ GetConnectionsOfType(
    String^ connectionType
)
abstract GetConnectionsOfType : 
        connectionType:string -> ArrayList
function GetConnectionsOfType(
    connectionType : String
) : ArrayList

参数

  • connectionType
    类型:System.String
    The type of connection to return.

返回值

类型:System.Collections.ArrayList
An ArrayList that contains the connections.

请参阅

参考

IDtsConnectionBaseService 接口

Microsoft.SqlServer.Dts.Runtime.Design 命名空间