次の方法で共有


ToConnections メソッド

メモ: この API は、互換性のために残されています。

*** メンバは互換性のために残されているため、GetWrapper(IDTSConnections100) メソッドを代わりに使用してください。*** IDTSConnections100 ネイティブ コレクションを Connections マネージ コレクションに変換します。

名前空間:  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
Connections マネージ コレクションです。