Udostępnij za pośrednictwem


Metoda DtsConvert.ToConnections

Uwaga: ten interfejs API jest już nieaktualny.

*** Członkowskich przestarzałe; Użyj GetWrapper(IDTSConnections100) metoda zamiast. *** Konwertuje macierzystego IDTSConnections100 kolekcja zarządzanych Connections kolekcja.

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

Składnia

'Deklaracja
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToConnections ( _
    connections As IDTSConnections100 _
) As Connections
'Użycie
Dim connections As IDTSConnections100
Dim returnValue As Connections

returnValue = DtsConvert.ToConnections(connections)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Connections ToConnections(
    IDTSConnections100 connections
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static Connections^ ToConnections(
    IDTSConnections100^ connections
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToConnections : 
        connections:IDTSConnections100 -> Connections 
public static function ToConnections(
    connections : IDTSConnections100
) : Connections

Parametry

Wartość zwracana

Typ: Microsoft.SqlServer.Dts.Runtime.Connections
Zarządzanie Connections kolekcja.