.netCHARTING v10.5 Documentation
Example 


dotnetCHARTING Namespace > DataEngine Class : CommandTimeout Property
CommandTimeout Property (DataEngine)
Gets or sets the wait time before terminating the attempt to execute a command and generating an error.
Syntax
'Declaration
 
Public Property CommandTimeout As Integer
'Usage
 
Dim instance As DataEngine
Dim value As Integer
 
instance.CommandTimeout = value
 
value = instance.CommandTimeout
public int CommandTimeout {get; set;}
Remarks
The time (in seconds) to wait for the command to execute. The default value is 30 seconds.
Example
The follwoing example set the command timeout to 45 seconds.
de.CommandTimeout=45;
de.CommandTimeout=45
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