SqlCeReplication.ConnectionRetryTimeout Property

Specifies how long (in seconds) the SQL Server Mobile client will continue to retry sending requests after an established connection has failed.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

public short ConnectionRetryTimeout { get; set; 
/** @property */
public short get_ConnectionRetryTimeout ()

/** @property */
public void set_ConnectionRetryTimeout (short value)

public function get ConnectionRetryTimeout () : short

public function set ConnectionRetryTimeout (value : short)

Property Value

The ConnectionRetryTimeout value.

The ConnectionRetryTimeout property allows you to specify an amount of time that the SQL Mobile client will attempt to recover from a failed synchronization. If recovery occurs during the duration, synchronization continues. If the connection retry timeout occurs before the connection is reestablished, synchronization fails.

The ConnectionRetryTimeout value is only used when an established connection has failed. It is not used when first establishing a connection.

Because of other network influences, the ConnectionRetryTimeout setting is only an approximation of the actual time that will lapse before the synchronization is abandoned.

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Compact Framework

Supported in: 2.0

Community Additions