dotConnect for SQL Server Documentation
Devart.Common Namespace / DbScript Class / CommandTimeout Property

In This Topic
    CommandTimeout Property (DbScript)
    In This Topic
    Gets or sets the wait time before terminating an attempt to execute a script and generating an error.
    Syntax
    'Declaration
     
    Public Property CommandTimeout As Integer
    public int CommandTimeout {get; set;}

    Property Value

    The time to wait while server responds when executing the command. The default value is 30 seconds.
    Remarks

    This property does not set the timeout for command execution, only the period of time for which to wait for response. I.e., if intervals between server responses are less than CommandTimeout, there is no time limit for command execution.

    Zero value specifies that the wait time is unlimited.

    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