共用方式為


GetExtendedInterface 方法 (ConnectionManager)

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

命名空間:  Microsoft.SqlServer.Dts.Runtime
組件:  Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)

語法

'宣告
Public Shared Function GetExtendedInterface ( _
    connMgr As ConnectionManager _
) As IDTSConnectionManager100
'用途
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

傳回值

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

備註

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