Partager via


ReliableSqlConnection.ConnectionRetryPolicy Property

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.

Gets the policy which decides whether to retry a connection request, based on how many times the request has been made and the reason for the last failure.

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

Syntax

public RetryPolicy ConnectionRetryPolicy { get; }
'Declaration
Public ReadOnly Property ConnectionRetryPolicy As RetryPolicy
    Get
public:
property RetryPolicy^ ConnectionRetryPolicy {
    RetryPolicy^ get ();
}

See Also

ReliableSqlConnection Class

Microsoft.Practices.EnterpriseLibrary.WindowsAzure.TransientFaultHandling.SqlAzure Namespace