FireError 方法 (Int32, String, String, String, Int32, Boolean)
此 API 支持 基础结构,但不能通过代码直接使用。
For more information, see IDTSComponentEvents.
命名空间: Microsoft.SqlServer.Dts.Runtime.Wrapper
程序集: Microsoft.SqlServer.DTSRuntimeWrap(在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)
语法
声明
Sub FireError ( _
ErrorCode As Integer, _
SubComponent As String, _
Description As String, _
HelpFile As String, _
HelpContext As Integer, _
<OutAttribute> ByRef pbCancel As Boolean _
)
用法
Dim instance As IDTSComponentEvents100
Dim ErrorCode As Integer
Dim SubComponent As String
Dim Description As String
Dim HelpFile As String
Dim HelpContext As Integer
Dim pbCancel As Boolean
instance.FireError(ErrorCode, SubComponent, _
Description, HelpFile, HelpContext, _
pbCancel)
void FireError(
int ErrorCode,
string SubComponent,
string Description,
string HelpFile,
int HelpContext,
out bool pbCancel
)
void FireError(
[InAttribute] int ErrorCode,
[InAttribute] String^ SubComponent,
[InAttribute] String^ Description,
[InAttribute] String^ HelpFile,
[InAttribute] int HelpContext,
[OutAttribute] bool% pbCancel
)
abstract FireError :
ErrorCode:int *
SubComponent:string *
Description:string *
HelpFile:string *
HelpContext:int *
pbCancel:bool byref -> unit
function FireError(
ErrorCode : int,
SubComponent : String,
Description : String,
HelpFile : String,
HelpContext : int,
pbCancel : boolean
)
参数
- ErrorCode
类型:System. . :: . .Int32
- SubComponent
类型:System. . :: . .String
- Description
类型:System. . :: . .String
- HelpFile
类型:System. . :: . .String
- HelpContext
类型:System. . :: . .Int32
- pbCancel
类型:System. . :: . .Boolean%
实现
IDTSInfoEvents100. . :: . .FireError(Int32, String, String, String, Int32, Boolean%)