VistaDB 6
VistaDB.Provider Namespace / VistaDBCommand Class / CommandTimeout Property


In This Topic
    CommandTimeout Property
    In This Topic
    Gets or sets the wait time before terminating the attempt to execute a command and generating an error. Gets or sets the time to wait in seconds before stopping a command execution. This is not used in the current engine, but will be used in a future version.
    Syntax
    'Declaration
     
    
    Public Overrides NotOverridable Property CommandTimeout As System.Integer
    'Usage
     
    
    Dim instance As VistaDBCommand
    Dim value As System.Integer
     
    instance.CommandTimeout = value
     
    value = instance.CommandTimeout
    public override System.int CommandTimeout {get; set;}

    Property Value

    The time in seconds to wait for the command to execute.
    Remarks
    CommandTimeout is ignored when the command is executed asynchronously. The default value of 0 means to wait indefinitely for the command to complete and is the current behavior.
    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