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

返回值

类型:Microsoft.SqlServer.Dts.Runtime. . :: . .Connections
A managed Connections collection.