Share via


ConnectionRetryTimeout Property (Replication)

The ConnectionRetryTimeout property specifies how long, in seconds, the SQL Server 2005 Compact Edition (SQL Server Compact Edition) client will continue to retry sending requests after an established connection has failed.

Syntax

object.ConnectionRetryTimeout [= value]

Parameters

  • value
    The time, in seconds, during which the SQL Server Compact Edition client will continue to retry a failed synchronization. Valid values are 0 to 900 seconds, inclusive. The default value is 120 seconds.

Applies To

SQL Server Compact Edition Replication object

Data Type

Short

Modifiable

Read/write

Prototype

HRESULT get_ConnectionRetryTimeout(short *pVal);
HRESULT put_ConnectionRetryTimeout(short newVal);

Remarks

The ConnectionRetryTimeout property lets you specify an amount of time that the SQL Server Compact Edition client will try 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.

For recommendations on setting this time-out value, see Optimizing Connectivity (SQL Server Compact Edition).

See Also

Reference

Replication Object Properties

Help and Information

Getting SQL Server Compact Edition Assistance