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

On this page
    ConnectionLifetime Property
    On this page
    Gets or sets the time, in seconds, during which a pooled connection is kept alive. The default value is 0.
    Syntax
    'Declaration
     
    Public Property ConnectionLifetime As Integer
    public int ConnectionLifetime {get; set;}
    Remarks
    Connection string keyword: Connection Lifetime.
    See Also