dotConnect for DB2 Documentation
Devart.Data.DB2 Namespace / DB2ConnectionStringBuilder Class / ConnectTimeout Property

In This Topic
    ConnectTimeout Property
    In This Topic
    Gets or sets the time the application should wait for a connection.
    Syntax
    'Declaration
     
    Public Property ConnectTimeout As Integer
    public int ConnectTimeout {get; set;}

    Property Value

    The time (in seconds) to wait while trying to establish a connection before terminating the attempt and reporting an error. The default value is 0, which means to wait infinitely.
    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