LinqConnect Documentation
Devart.Data.Linq Namespace / DataContext Class / CommandTimeout Property

In This Topic
    CommandTimeout Property
    In This Topic
    Increases the time-out period for queries that would otherwise time out during the default time-out period.
    Syntax
    'Declaration
     
    Public Property CommandTimeout As Integer
    public int CommandTimeout {get; set;}
    Remarks
    This property gets or sets the command time-out used to execute generated commands (IDbCommands). For more information, see CommandTimeout. When this property is not set, the default value of CommandTimeout is used for query command execution. The default is 30 seconds.
    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