Share via


Package.FailPackageOnFailure Property

Gets or sets a value that indicates whether the package fails when a task or component in the package fails.

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

Syntax

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

value = instance.FailPackageOnFailure

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

Property Value

Type: System.Boolean
true if the package fails when a task or component in the package fails; otherwise, false.

See Also

Reference

Package Class

Microsoft.SqlServer.Dts.Runtime Namespace