共用方式為


VSTATaskScriptingEngine.ExecutionException 屬性

此 API 支援 SQL Server 2012 基礎結構,但無法直接從您的程式碼使用。

Gets or sets the exception that occurs during script execution.

命名空間:  Microsoft.SqlServer.Dts.Tasks.ScriptTask
組件:  Microsoft.SqlServer.ScriptTask (在 Microsoft.SqlServer.ScriptTask.dll 中)

語法

'宣告
Public Property ExecutionException As Exception 
    Get 
    Set
'用途
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)

屬性值

型別:System.Exception
The exception that occurs during script execution.

請參閱

參考

VSTATaskScriptingEngine 類別

Microsoft.SqlServer.Dts.Tasks.ScriptTask 命名空間