ASTaskBase.FireError 方法 (Int32, String, String, String)
此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Raises an event when an error occurs.
命名空间: Microsoft.DataTransformationServices.Tasks.DTSProcessingTask
程序集: Microsoft.SqlServer.ASTasks(在 Microsoft.SqlServer.ASTasks.dll 中)
语法
声明
Protected Sub FireError ( _
errorCode As Integer, _
subComponent As String, _
message As String, _
helpLink As String _
)
用法
Dim errorCode As Integer
Dim subComponent As String
Dim message As String
Dim helpLink As String
Me.FireError(errorCode, subComponent, _
message, helpLink)
protected void FireError(
int errorCode,
string subComponent,
string message,
string helpLink
)
protected:
void FireError(
int errorCode,
String^ subComponent,
String^ message,
String^ helpLink
)
member FireError :
errorCode:int *
subComponent:string *
message:string *
helpLink:string -> unit
protected function FireError(
errorCode : int,
subComponent : String,
message : String,
helpLink : String
)
参数
- errorCode
类型:System.Int32
An Integer that identifies the error message.
- subComponent
类型:System.String
A String that contains more detail about the event source.
- message
类型:System.String
The text of the message.
- helpLink
类型:System.String
The path to the Help file that contains detailed information.
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间