Partager via


Propriété PackageClass.MaximumErrorCount

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Gets or sets the maximum number of errors that can occur before the package stops running.

Espace de noms :  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly :  Microsoft.SqlServer.DTSRuntimeWrap (en Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntaxe

'Déclaration
Public Overridable Property MaximumErrorCount As Integer 
    Get 
    Set
'Utilisation
Dim instance As PackageClass 
Dim value As Integer 

value = instance.MaximumErrorCount

instance.MaximumErrorCount = value
public virtual int MaximumErrorCount { get; set; }
public:
virtual property int MaximumErrorCount {
    int get ();
    void set (int value);
}
abstract MaximumErrorCount : int with get, set 
override MaximumErrorCount : int with get, set
function get MaximumErrorCount () : int 
function set MaximumErrorCount (value : int)

Valeur de propriété

Type : System.Int32
The maximum number of errors allowed.

Implémente

IDTSContainer100.MaximumErrorCount

Notes

For more information, see Package.

Voir aussi

Référence

PackageClass Classe

Espace de noms Microsoft.SqlServer.Dts.Runtime.Wrapper