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 » SAConnection class

ConnectionString property Next Page

ConnectionTimeout property


Gets the number of seconds before a connection attempt times out with an error.

Syntax

Visual Basic

Public Overrides Readonly Property ConnectionTimeout As Integer

C#

public override int ConnectionTimeout { get;}

Property value

15 seconds

Example

The following statement displays the value of the ConnectionTimeout.

MessageBox.Show( conn.ConnectionTimeout.ToString( ) );
See also