SqlRetryLogicOption.NumberOfTries Property

Definition

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

public int NumberOfTries { get; set; }
member this.NumberOfTries : int with get, set
Public Property NumberOfTries As Integer

Property Value

Int32

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

Applies to