This documentation is archived and is not being maintained.

SqlCeConnection.ConnectionTimeout Property

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

Gets the time to wait while trying to establish a connection before terminating the attempt and generating an error.

[Visual Basic]
Public Overridable ReadOnly Property ConnectionTimeout As Integer  _
   Implements IDbConnection.ConnectionTimeout
[C#]
public virtual int ConnectionTimeout {get;}
[C++]
public: __property virtual int get_ConnectionTimeout();
[JScript]
public function get ConnectionTimeout() : int;

Property Value

The time (in seconds) to wait for a connection to open. The value is always 0 in SQL Server CE.

Implements

IDbConnection.ConnectionTimeout

Remarks

The ConnectionTimeout is a read-only property in SQL Server CE.

Requirements

Platforms: .NET Compact Framework

.NET Framework Security: 

See Also

SqlCeConnection Class | SqlCeConnection Members | System.Data.SqlServerCe Namespace

Show: