ConnectionTimeout Property (MongoDBConnectionStringBuilder)
On this page
Gets or sets the time, in seconds, to wait while trying to open a connection (server selection) before an error is generated; 0 uses the libmongoc default. The default value is 30.
Syntax
|
|---|
'Declaration
Public Property ConnectionTimeout As Integer |
|
|---|
public int ConnectionTimeout {get; set;} |
See Also