SqlRetryLogicOption.NumberOfTries Property

Definition

Sets the number of times to try and execute the function.

public:
 property int NumberOfTries { int get(); void set(int value); };
public int NumberOfTries { get; set; }
member this.NumberOfTries : int with get, set
Public Property NumberOfTries As Integer

Property Value

int between 1 and 60; 1 means to execute one time and if an error is encountered, don't retry.

Applies to