Share via


EventHandlerClass.FailPackageOnFailure Property

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

Gets or sets a Boolean that indicates whether the package fails when a child container fails. This property is used on containers, not the package itself.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property FailPackageOnFailure As Boolean 
    Get 
    Set
'Usage
Dim instance As EventHandlerClass 
Dim value As Boolean 

value = instance.FailPackageOnFailure

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

Property Value

Type: System.Boolean
true if the package fails; otherwise, false. true indicates that a failure in the container will set the package execution results to failure.

Implements

IDTSContainer100.FailPackageOnFailure

See Also

Reference

EventHandlerClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace