ScriptTaskUI.ReportError 方法
此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。
Reports the specified exception.
命名空間: Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件: Microsoft.SqlServer.ScriptTaskUI (在 Microsoft.SqlServer.ScriptTaskUI.dll 中)
語法
'宣告
Public Sub ReportError ( _
ex As Exception _
)
'用途
Dim instance As ScriptTaskUI
Dim ex As Exception
instance.ReportError(ex)
public void ReportError(
Exception ex
)
public:
void ReportError(
Exception^ ex
)
member ReportError :
ex:Exception -> unit
public function ReportError(
ex : Exception
)
參數
- ex
型別:System.Exception
The exception to report.