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 命名空間