Share via


ForEachLoopClass.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.

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 ForEachLoopClass 
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 a failure in the container will set the package execution results to failure; otherwise, false.

Implements

IDTSContainer100.FailPackageOnFailure

See Also

Reference

ForEachLoopClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace