ArcFM Responder Mobile Developer Guide
CommandTimeout Property






The time in seconds to wait for the command to execute. The default is 120 seconds.
Syntax
'Declaration
 
Public Property CommandTimeout As System.Integer
'Usage
 
Dim instance As DbSql
Dim value As System.Integer
 
instance.CommandTimeout = value
 
value = instance.CommandTimeout
public System.int CommandTimeout {get; set;}
public read-write property CommandTimeout: System.Integer; 
public function get,set CommandTimeout : System.int
public: __property System.int get_CommandTimeout();
public: __property void set_CommandTimeout( 
   System.int value
);
public:
property System.int CommandTimeout {
   System.int get();
   void set (    System.int value);
}
Remarks

A value of 0 indicates no limit, and should be avoided in a CommandTimeout because an attempt to execute a command will wait indefinitely.

The OracleClient.OracleCommand class ignores this property.

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

Reference

DbSql Class
DbSql Members

Send Feedback