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

On this page
    SocketConnectTimeout Property
    On this page
    Gets or sets the maximum time, in seconds, that one attempt to connect a socket to a server can take; it is limited by Connection Timeout, and 0 uses the libmongoc default. The default value is 10.
    Syntax
    'Declaration
     
    Public Property SocketConnectTimeout As Integer
    public int SocketConnectTimeout {get; set;}
    Remarks
    Connection string keyword: Socket Connect Timeout.
    See Also