dotConnect for PostgreSQL Documentation
Devart.Data.PostgreSql Namespace / PgSqlConnectionStringBuilder Class / DefaultCommandTimeout Property

In This Topic
    DefaultCommandTimeout Property
    In This Topic
    Gets or sets the time in seconds to wait while trying to execute a command before terminating the attempt and generating an error.
    Syntax
    'Declaration
     
    Public Property DefaultCommandTimeout As Integer
    public int DefaultCommandTimeout {get; set;}

    Property Value

    The time in seconds to wait while trying to execute a command before terminating the attempt and generating an error.
    Remarks
    A value of 0 indicates no limit. The default value is 30.
    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