Compartilhar via


Propriedade do RDL Package.FailPackageOnFailure

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 (em Microsoft.SqlServer.ManagedDTS.dll)

Sintaxe

'Declaração
Public Property FailPackageOnFailure As Boolean 
    Get 
    Set
'Uso
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)

Valor da propriedade

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

Consulte também

Referência

Package Classe

Namespace Microsoft.SqlServer.Dts.Runtime