Udostępnij przez


DtsConvert.GetWrapper Method (IDTSConnections100)

Gets the managed Connections object that corresponds to the specified native IDTSConnections100 object. This method is not CLS-compliant.

Namespace: Microsoft.SqlServer.Dts.Runtime
Assembly: Microsoft.SqlServer.ManagedDTS (in microsoft.sqlserver.manageddts.dll)

Syntax

'Deklaracja
Public Shared Function GetWrapper ( _
    connections As IDTSConnections100 _
) As Connections
public static Connections GetWrapper (
    IDTSConnections100 connections
)
public:
static Connections^ GetWrapper (
    IDTSConnections100^ connections
)
public static Connections GetWrapper (
    IDTSConnections100 connections
)
public static function GetWrapper (
    connections : IDTSConnections100
) : Connections

Parameters

Return Value

The managed Connections object that corresponds to the specified native IDTSConnections100 object.

Remarks

Use the DtsConvert.GetWrapper(IDTSConnections100) method instead of the obsolete ToConnections method.

Thread Safety

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server.