dotConnect for SQL Server Documentation
Devart.Data.SqlServer Namespace / SqlConnectionStringBuilder 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