dotConnect for MongoDB Documentation
Devart.Data.MongoDB Namespace / MongoDBConnectionStringBuilder Class / ConnectionTimeout Property

On this page
    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;}
    Remarks
    Connection string keyword: Connection Timeout. Synonyms: Connect Timeout.
    See Also