Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Programming » SQL Anywhere .NET 2.0 API Reference » SACommand class

CommandText property Next Page

CommandTimeout property

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


Visual Basic

Public Overrides Property CommandTimeout As Integer


public override int CommandTimeout { get; set; }

Property value

The default value is 30 seconds.


A value of 0 indicates no limit. This should be avoided because it may cause the attempt to execute a command to wait indefinitely.

See also