ConnectionTimeout Property

SqlCeConnection.ConnectionTimeout Property

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

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

public override int ConnectionTimeout { get; }

Property Value

Type: System.Int32
The time (in seconds) to wait for a connection to open. The value is always 0 in SQL Server Compact.

Implements

IDbConnection.ConnectionTimeout

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

Show:
© 2016 Microsoft