BdcServiceApplication.SqlConnectionRetries Property
Gets or sets the maximum number of connection attempts to the database if database operations fail because of a failure to acquire necessary resources.
Namespace: Microsoft.SharePoint.BusinessData.SharedService
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Property SqlConnectionRetries As Integer
Get
Set
'Usage
Dim instance As BdcServiceApplication
Dim value As Integer
value = instance.SqlConnectionRetries
instance.SqlConnectionRetries = value
public int SqlConnectionRetries { get; set; }
Property Value
Type: System.Int32
The maximum number of connection attempts allowed to the database.
Exceptions
Exception | Condition |
---|---|
ArgumentException | The value is less than zero. |