dotConnect Universal Documentation
Devart.Common Namespace / DbCommandBase Class / CommandTimeout Property

In This Topic
    CommandTimeout Property (DbCommandBase)
    In This Topic
    Gets or sets the wait time before terminating an attempt to execute a command and generating an error.
    Syntax
    'Declaration
     
    Public Overrides Property CommandTimeout As Integer
    public override 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.

    This property has no meaning under .NET Compact Framework

    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