IDTSInfoEvents100.FireError 메서드
이 API는 SQL Server 2012 인프라를 지원하기 위한 것으로 코드에서 직접 사용할 수 없습니다.
Fires an error.
네임스페이스: 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 IDTSInfoEvents100
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
The error message.
- SubComponent
유형: System.String
The sub-module within a source.
- Description
유형: System.String
Text of the message.
- HelpFile
유형: System.String
The path to the Help file that contains detailed information.
- HelpContext
유형: System.Int32
Identifier of the topic in the Help file.
- pbCancel
유형: System.Boolean%
A Boolean that indicates if this should cancel firing or continue firing.