RetryPolicyFactory.GetDefaultSqlCommandRetryPolicy Method
Returns the default retry policy dedicated to handling transient conditions with SQL commands.
Namespace: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling
Assembly: Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration (in Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling.Configuration.dll) Version: 6.0.0.0 (6.0.1304.0)
Syntax
public static RetryPolicy GetDefaultSqlCommandRetryPolicy()
'Declaration
Public Shared Function GetDefaultSqlCommandRetryPolicy As RetryPolicy
public:
static RetryPolicy^ GetDefaultSqlCommandRetryPolicy()
Return Value
Type: RetryPolicy
The retry policy for SQL commands with the corresponding default strategy (or the default strategy if no retry strategy definition for SQL commands was found).
See Also
Microsoft.Practices.EnterpriseLibrary.TransientFaultHandling Namespace