DtsConvert.GetExtendedInterface 方法 (IDTSEvents)
Gets the native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.
命名空间: Microsoft.SqlServer.Dts.Runtime
程序集: Microsoft.SqlServer.ManagedDTS(在 Microsoft.SqlServer.ManagedDTS.dll 中)
语法
声明
Public Shared Function GetExtendedInterface ( _
events As IDTSEvents _
) As IDTSEvents100
用法
Dim events As IDTSEvents
Dim returnValue As IDTSEvents100
returnValue = DtsConvert.GetExtendedInterface(events)
public static IDTSEvents100 GetExtendedInterface(
IDTSEvents events
)
public:
static IDTSEvents100^ GetExtendedInterface(
IDTSEvents^ events
)
static member GetExtendedInterface :
events:IDTSEvents -> IDTSEvents100
public static function GetExtendedInterface(
events : IDTSEvents
) : IDTSEvents100
参数
- events
类型:Microsoft.SqlServer.Dts.Runtime.IDTSEvents
A managed IDTSEvents object.
返回值
类型:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSEvents100
The native IDTSEvents100 object that corresponds to the specified managed IDTSEvents object.
注释
Use the DtsConvert.GetExtendedInterface(IDTSEvents) method instead of the obsolete ToEvents90 method.