adTempus API
ArcanaDevelopment.adTempus.Client Namespace / DatabaseOperationTask Class / CommandTimeout Property


In This Topic
    CommandTimeout Property
    In This Topic
    The timeout to use when executing commands and queries against the database.
    Syntax
    'Declaration
     
    
    <CanBeNullAttribute()>
    <RequiredVersionAttribute(5, 
       0, 
       0, 
       0)>
    Public Property CommandTimeout As Nullable(Of TimeSpan)
    [CanBeNull()]
    [RequiredVersion(5, 
       0, 
       0, 
       0)]
    public Nullable<TimeSpan> CommandTimeout {get; set;}
    [CanBeNull()]
    [RequiredVersion(5, 
       0, 
       0, 
       0)]
    public:
    property Nullable<TimeSpan> CommandTimeout {
       Nullable<TimeSpan> get();
       void set (    Nullable<TimeSpan> value);
    }
    Remarks
    If no value (or a value of 0) is specified, the default timeout is used (taken from Server Option "DatabaseOperation:CommandTimeout").
    See Also