Proprietà PackageClass.FailPackageOnFailure
Questa API supporta l'infrastruttura SQL Server 2012 e non può essere utilizzata direttamente dal codice.
Gets or sets a value that indicates whether the package fails when a task or component in the package fails.
Spazio dei nomi Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly: Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)
Sintassi
'Dichiarazione
Public Overridable Property FailPackageOnFailure As Boolean
Get
Set
'Utilizzo
Dim instance As PackageClass
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)
Valore proprietà
Tipo: System.Boolean
true if the package fails when a task or component in the package fails; otherwise, false.
Implementa
IDTSContainer100.FailPackageOnFailure
Osservazioni
For more information, see Package.