IDTSEvents100.OnTaskFailed 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Called by the task host when it fails.
命名空間: Microsoft.SqlServer.Dts.Runtime.Wrapper
組件: Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
語法
'宣告
Sub OnTaskFailed ( _
pTaskHost As IDTSTaskHost100 _
)
'用途
Dim instance As IDTSEvents100
Dim pTaskHost As IDTSTaskHost100
instance.OnTaskFailed(pTaskHost)
void OnTaskFailed(
IDTSTaskHost100 pTaskHost
)
void OnTaskFailed(
[InAttribute] IDTSTaskHost100^ pTaskHost
)
abstract OnTaskFailed :
pTaskHost:IDTSTaskHost100 -> unit
function OnTaskFailed(
pTaskHost : IDTSTaskHost100
)
參數
- pTaskHost
型別:Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSTaskHost100
The TaskHost object that failed.
備註
For more information, see IDTSEvents.