Share via


IDtsConnectionService.GetConnectionsOfType Method

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

Namespace:  Microsoft.SqlServer.Dts.Runtime.Design
Assembly:  Microsoft.SqlServer.Dts.Design (in Microsoft.SqlServer.Dts.Design.dll)

Syntax

'Declaration
Function GetConnectionsOfType ( _
    connectionType As String _
) As ArrayList
'Usage
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

Parameters

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

Return Value

Type: System.Collections.ArrayList
An ArrayList that contains the connections.