SqlRetryLogicOption.NumberOfTries Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.