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

SQL Anywhere 11.0.1 (Français) » SQL Anywhere Server - Programming » SQL Anywhere Data Access APIs » SQL Anywhere .NET 2.0 API reference » iAnywhere.Data.SQLAnywhere namespace (.NET 2.0) » SACommand class


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