共用方式為


PackageClass.DumpOnAnyError 屬性

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

Gets or sets a value that indicates whether a dump file should be generated when any error occurs during package execution.

命名空間:  Microsoft.SqlServer.Dts.Runtime.Wrapper
組件:  Microsoft.SqlServer.DTSRuntimeWrap (在 Microsoft.SqlServer.DTSRuntimeWrap.dll 中)

語法

'宣告
Public Overridable Property DumpOnAnyError As Boolean 
    Get 
    Set
'用途
Dim instance As PackageClass 
Dim value As Boolean 

value = instance.DumpOnAnyError

instance.DumpOnAnyError = value
public virtual bool DumpOnAnyError { get; set; }
public:
virtual property bool DumpOnAnyError {
    bool get ();
    void set (bool value);
}
abstract DumpOnAnyError : bool with get, set 
override DumpOnAnyError : bool with get, set
function get DumpOnAnyError () : boolean 
function set DumpOnAnyError (value : boolean)

屬性值

型別:System.Boolean
true if a dump files should be generated when any error occurs during package execution; otherwise, false.

實作

IDTSDumpConfiguration100.DumpOnAnyError

備註

For more information, see Package.

請參閱

參考

PackageClass 類別

Microsoft.SqlServer.Dts.Runtime.Wrapper 命名空間