共用方式為


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 IDtsConnectionService
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

參數

傳回值

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