Del via


RetryPolicyFactory.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 static RetryPolicy GetDefaultSqlCommandRetryPolicy()
'Declaration
Public Shared Function GetDefaultSqlCommandRetryPolicy As RetryPolicy
public:
static 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

RetryPolicyFactory Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling Namespace