dotConnect for Dynamics 365 Documentation
Devart.Data Namespace / SqlShimCommand Class / FailoverRetries Property

FailoverRetries Property (SqlShimCommand)
Gets or sets the number of retries to perform a command if it failed because of the exception, that indicates that the reason of the failure may be temporary.
Syntax
'Declaration
 
Public Property FailoverRetries As Integer
 

Property Value

The number of retries to perform a command if it failed because of the exception, that indicates that the reason of the failure may be temporary.
Remarks
If a command failed because of the exception that indicates that the reason of the failure may be temporary, for example, the target service is busy, SqlShimCommand waits for some time and retries the command for the specified number of times.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also