dotnetCHARTING Send comments on this topic.
CommandTimeout Property
See Also  Example
dotnetCHARTING Namespace > Series Class : CommandTimeout Property


Gets or sets the wait time before terminating the attempt to execute a command and generating an error.

Syntax

Visual Basic (Declaration) 
Public Property CommandTimeout As Integer
Visual Basic (Usage)Copy Code
Dim instance As Series
Dim value As Integer
 
instance.CommandTimeout = value
 
value = instance.CommandTimeout
C# 
public int CommandTimeout {get; set;}

Example

The follwoing example set the command timeout to 45 seconds.
C#Copy Code
Chart.Series.CommandTimeout=45;
    
Visual BasicCopy Code
Chart.Series.CommandTimeout=45

See Also

© 2010 All Rights Reserved.