다음을 통해 공유


DtsConvert.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.

참고 항목

참조

DtsConvert 클래스

Microsoft.SqlServer.Dts.Runtime 네임스페이스