Метод ToConnections
Примечание. Этот API-интерфейс устарел.
*** Member obsolete; use the GetWrapper(IDTSConnections100) method instead. *** Converts a native IDTSConnections100 collection to a managed Connections collection.
Пространство имен: Microsoft.SqlServer.Dts.Runtime
Сборка: Microsoft.SqlServer.ManagedDTS (в Microsoft.SqlServer.ManagedDTS.dll)
Синтаксис
'Декларация
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToConnections ( _
connections As IDTSConnections100 _
) As Connections
'Применение
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
Параметры
- connections
Тип Microsoft.SqlServer.Dts.Runtime.Wrapper. . :: . .IDTSConnections100
The native IDTSConnections100 collection.
Возвращаемое значение
Тип Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
A managed Connections collection.
См. также