Udostępnij przez


DtsConvert.GetWrapper Method (IDTSConnectionManager100)

Gets the managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 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 ( _
    connMgr As IDTSConnectionManager100 _
) As ConnectionManager
public static ConnectionManager GetWrapper (
    IDTSConnectionManager100 connMgr
)
public:
static ConnectionManager^ GetWrapper (
    IDTSConnectionManager100^ connMgr
)
public static ConnectionManager GetWrapper (
    IDTSConnectionManager100 connMgr
)
public static function GetWrapper (
    connMgr : IDTSConnectionManager100
) : ConnectionManager

Parameters

Return Value

The managed ConnectionManager object that corresponds to the specified native IDTSConnectionManager100 object

Remarks

Use the DtsConvert.GetWrapper(IDTSConnectionManager100) method instead of the obsolete ToConnectionManager 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.