共用方式為


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 命名空間