VistaDB 5






CommandTimeout Property
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;}
public read-write property CommandTimeout: System.Integer; override; 
public override function get,set CommandTimeout : System.int
public: __property System.int get_CommandTimeout() override;
public: __property void set_CommandTimeout( 
   System.int value
) override;
public:
property System.int CommandTimeout {
   System.int get() override;
   void set (    System.int value) override;
}
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