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

CommitTimeout Property
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
 

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