dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnection Class / CommitTimeout Property

In This Topic
    CommitTimeout Property
    In This Topic
    Gets the time to wait for the PgSqlTransaction.Commit method to execute before terminating the attempt and generating an error.
    Syntax
    'Declaration
     
    Public Property CommitTimeout As Integer
    public int CommitTimeout {get; set;}

    Property Value

    The time (in seconds) to wait for a connection to open.
    Remarks
    A value of 0 indicates no limit, and should be avoided because an attempt to commit will wait indefinitely.
    See Also