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
public virtual int ConnectionTimeout {get;}
public: __property virtual int get_ConnectionTimeout();
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.




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


Platforms: .NET Compact Framework

.NET Framework Security: 

See Also

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