DtsConvert.ToApplication 方法
注意:此 API 已經過時。
*** Member obsolete; use the GetWrapper(IDTSApplication100) method instead. *** Converts a native IDTSApplication100 object to a managed Application object.
命名空間: Microsoft.SqlServer.Dts.Runtime
組件: Microsoft.SqlServer.ManagedDTS (在 Microsoft.SqlServer.ManagedDTS.dll 中)
語法
'宣告
<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")> _
Public Shared Function ToApplication ( _
iapp As IDTSApplication100 _
) As Application
'用途
Dim iapp As IDTSApplication100
Dim returnValue As Application
returnValue = DtsConvert.ToApplication(iapp)
[ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public static Application ToApplication(
IDTSApplication100 iapp
)
[ObsoleteAttribute(L"The ToXXXX() methods have been replaced with the GetWrapper() method.")]
public:
static Application^ ToApplication(
IDTSApplication100^ iapp
)
[<ObsoleteAttribute("The ToXXXX() methods have been replaced with the GetWrapper() method.")>]
static member ToApplication :
iapp:IDTSApplication100 -> Application
public static function ToApplication(
iapp : IDTSApplication100
) : Application
參數
- iapp
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSApplication100
The native IDTSApplication100 object.
傳回值
型別:Microsoft.SqlServer.Dts.Runtime.Application
A managed Application object.