共用方式為


GetExtendedInterface 方法 (VariableDispenser)

Gets the native IDTSVariableDispenser100 object that corresponds to the specified managed VariableDispenser object.

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

語法

'宣告
Public Shared Function GetExtendedInterface ( _
    variableDispenser As VariableDispenser _
) As IDTSVariableDispenser100
'用途
Dim variableDispenser As VariableDispenser
Dim returnValue As IDTSVariableDispenser100

returnValue = DtsConvert.GetExtendedInterface(variableDispenser)
public static IDTSVariableDispenser100 GetExtendedInterface(
    VariableDispenser variableDispenser
)
public:
static IDTSVariableDispenser100^ GetExtendedInterface(
    VariableDispenser^ variableDispenser
)
static member GetExtendedInterface : 
        variableDispenser:VariableDispenser -> IDTSVariableDispenser100 
public static function GetExtendedInterface(
    variableDispenser : VariableDispenser
) : IDTSVariableDispenser100

參數

傳回值

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

備註

Use the DtsConvert..::..GetExtendedInterface(VariableDispenser) method instead of the obsolete ToVariableDispenser90 method.