Del via


RetryManager.GetDefaultSqlConnectionRetryStrategy Method

Retired Content

This content and the technology described is outdated and is no longer being maintained. For more information about Transient Fault Handling, see Transient Fault Handling.

Return the default retry strategy for SqlConnection.

Namespace: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling (in Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.dll) Version: 5.0.1118.0 (5.0.1118.0)

Syntax

public RetryStrategy GetDefaultSqlConnectionRetryStrategy()
'Declaration
Public Function GetDefaultSqlConnectionRetryStrategy As RetryStrategy
public:
RetryStrategy^ GetDefaultSqlConnectionRetryStrategy()

Return Value

The default SqlConnection retry strategy (or the default strategy if no default could be found).

See Also

RetryManager Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling Namespace