Udostępnij za pośrednictwem


Metoda IDtsConnectionService.GetConnectionsOfType

Zwraca wszystkie połączenia określonego typu w bieżącego pakiet.

Przestrzeń nazw:  Microsoft.SqlServer.Dts.Runtime.Design
Zestaw:  Microsoft.SqlServer.Dts.Design (w Microsoft.SqlServer.Dts.Design.dll)

Składnia

'Deklaracja
Function GetConnectionsOfType ( _
    connectionType As String _
) As ArrayList
'Użycie
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

Parametry

  • connectionType
    Typ: System.String
    Typ połączenia, aby powrócić.

Wartość zwracana

Typ: System.Collections.ArrayList
ArrayList zawierający połączenia.