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.
    Requirements

    Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also