Package.FailPackageOnFailure Property

 

Applies To: SQL Server 2016 Preview

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

[ReadOnlyAttribute(true)]
public bool FailPackageOnFailure { get; set; }
public:
[ReadOnlyAttribute(true)]
property bool FailPackageOnFailure {
    bool get();
    void set(bool value);
}
[<ReadOnlyAttribute(true)>]
member FailPackageOnFailure : bool with get, set
<ReadOnlyAttribute(True)>
Public Property FailPackageOnFailure As Boolean

Property Value

Type: System.Boolean

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

See Also

Package Class
Microsoft.SqlServer.Dts.Runtime Namespace

Return to top