Dela via


DtsConvert.GetExtendedInterface Method (ConnectionManager)

Gets the native IDTSConnectionManager100 object that corresponds to the specified managed ConnectionManager object.

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

Syntax

'Declaration
Public Shared Function GetExtendedInterface ( _
    connMgr As ConnectionManager _
) As IDTSConnectionManager100
'Usage
Dim connMgr As ConnectionManager
Dim returnValue As IDTSConnectionManager100

returnValue = DtsConvert.GetExtendedInterface(connMgr)
public static IDTSConnectionManager100 GetExtendedInterface(
    ConnectionManager connMgr
)
public:
static IDTSConnectionManager100^ GetExtendedInterface(
    ConnectionManager^ connMgr
)
static member GetExtendedInterface : 
        connMgr:ConnectionManager -> IDTSConnectionManager100 
public static function GetExtendedInterface(
    connMgr : ConnectionManager
) : IDTSConnectionManager100

Parameters

Return Value

Type: Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100
The native IDTSConnectionManager100 object that corresponds to the specified managed ConnectionManager object.

Remarks

Use the DtsConvert.GetExtendedInterface(ConnectionManager) method instead of the obsolete ToConnectionManager90 method.