Share via


VSTATaskScriptingEngine.ExecutionException Property

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

Gets or sets the exception that occurs during script execution.

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

Syntax

'Declaration
Public Property ExecutionException As Exception 
    Get 
    Set
'Usage
Dim instance As VSTATaskScriptingEngine 
Dim value As Exception 

value = instance.ExecutionException

instance.ExecutionException = value
public Exception ExecutionException { get; set; }
public:
property Exception^ ExecutionException {
    Exception^ get ();
    void set (Exception^ value);
}
member ExecutionException : Exception with get, set
function get ExecutionException () : Exception 
function set ExecutionException (value : Exception)

Property Value

Type: System.Exception
The exception that occurs during script execution.

See Also

Reference

VSTATaskScriptingEngine Class

Microsoft.SqlServer.Dts.Tasks.ScriptTask Namespace