ASTaskBase.FireError 方法 (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 ( _
subComponent As String, _
message As String _
)
用法
Dim subComponent As String
Dim message As String
Me.FireError(subComponent, message)
protected void FireError(
string subComponent,
string message
)
protected:
void FireError(
String^ subComponent,
String^ message
)
member FireError :
subComponent:string *
message:string -> unit
protected function FireError(
subComponent : String,
message : String
)
参数
- subComponent
类型:System.String
A String that contains more detail about the event source.
- message
类型:System.String
The text of the message.
请参阅
参考
Microsoft.DataTransformationServices.Tasks.DTSProcessingTask 命名空间