Share via


ScriptTaskUI.ReportError Method

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Reports the specified exception.

Namespace:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
Assembly:  Microsoft.SqlServer.ScriptTaskUI (in Microsoft.SqlServer.ScriptTaskUI.dll)

Syntax

'Declaration
Public Sub ReportError ( _
    ex As Exception _
)
'Usage
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
)

Parameters

See Also

Reference

ScriptTaskUI Class

Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace