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:
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries From Partially Trusted Code
See Also
SqlCeConnection Class | SqlCeConnection Members | System.Data.SqlServerCe Namespace
Syntax based on .NET Framework version 1.1.
Documentation version 1.1.1.