dotConnect Universal 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 command and generating an error.
    Syntax
    'Declaration
     
    Public Property CommandTimeout As Integer
    public int CommandTimeout {get; set;}

    Property Value

    The time (in seconds) to wait for the command to execute. The default value is 30 seconds.
    Remarks
    A value of zero (0) specifies no limit to the wait time, rather than no wait time, and therefore should be avoided.
    See Also