Share via


PackageRemote32Class.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 value that indicates whether the package fails when a task or component in the package 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 PackageRemote32Class 
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 when a task or component in the package fails; otherwise, false.

Implements

IDTSContainer100.FailPackageOnFailure

See Also

Reference

PackageRemote32Class Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace