RetryManager.GetDefaultSqlCommandRetryPolicy 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.

Returns the default retry policy dedicated to handling transient conditions with SQL commands.

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 virtual RetryPolicy GetDefaultSqlCommandRetryPolicy()
'Declaration
Public Overridable Function GetDefaultSqlCommandRetryPolicy As RetryPolicy
public:
virtual RetryPolicy^ GetDefaultSqlCommandRetryPolicy()

Return Value

The retry policy for SQL commands with the corresponding default strategy (or the default strategy if no retry strategy definition assigned to SQL commands was found).

See Also

RetryManager Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling Namespace