Gets or sets the maximum number of times the client will try to close a IConnection
if it's in use and IConnectionPool has been disposed.
Namespace: Couchbase.Configuration.ClientAssembly: Couchbase.NetClient (in Couchbase.NetClient.dll) Version: 2.1.0.0 (2.1.0.0)
Syntax public int MaxCloseAttempts { get; set; }
public int MaxCloseAttempts { get; set; }
Public Property MaxCloseAttempts As Integer
Get
Set
Public Property MaxCloseAttempts As Integer
Get
Set
public:
property int MaxCloseAttempts {
int get ();
void set (int value);
}
public:
property int MaxCloseAttempts {
int get ();
void set (int value);
}
member MaxCloseAttempts : int with get, set
member MaxCloseAttempts : int with get, set
Property Value
Type:
Int32
The maximum close attempts.
Remarks The default is 5 attempts.
See Also