Share via


EventHandlerClass.MaximumErrorCount Property

This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.

Gets or sets an Integer value that specifies the maximum number of errors that can occur before the EventHandlerClass object stops running.

Namespace:  Microsoft.SqlServer.Dts.Runtime.Wrapper
Assembly:  Microsoft.SqlServer.DTSRuntimeWrap (in Microsoft.SqlServer.DTSRuntimeWrap.dll)

Syntax

'Declaration
Public Overridable Property MaximumErrorCount As Integer 
    Get 
    Set
'Usage
Dim instance As EventHandlerClass 
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)

Property Value

Type: System.Int32
An Integer that specifies the maximum number of errors allowed. The default value of this property is 1.

Implements

IDTSContainer100.MaximumErrorCount

See Also

Reference

EventHandlerClass Class

Microsoft.SqlServer.Dts.Runtime.Wrapper Namespace