SqlRetryLogicOption.AuthorizedSqlCondition Property

Definition

Sets a pre-retry validation function on the CommandText to only include specific SQL statements.

public:
 property Predicate<System::String ^> ^ AuthorizedSqlCondition { Predicate<System::String ^> ^ get(); void set(Predicate<System::String ^> ^ value); };
public Predicate<string> AuthorizedSqlCondition { get; set; }
member this.AuthorizedSqlCondition : Predicate<string> with get, set
Public Property AuthorizedSqlCondition As Predicate(Of String)

Property Value

Predicate<T> The pre-retry validation delegate function; true if the CommandText is authorized to retry the operation.

Applies to