Gets or sets the value of the QueryTimeout keyword.
[Visual Basic]
Public Property QueryTimeout As int
[C#]
public int QueryTimeout {get; set;}
[C++]
public: __property int* get_QueryTimeout();
public: __property void set_QueryTimeout(int*);
[JScript]
public function get QueryTimeout() : int;
public function set QueryTimeout(int);
The QueryTimeout indicates the default number of seconds to wait for an SQL statement or XQuery expression to complete executing before attempting to cancel the execution and returning to the application. This attribute overrides the default 30 second DB2Command.CommandTimeout value. There is no default value for QueryTimeout.