Share via


ConnectionRetryTimeout Property (RDA)

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

Syntax

object.ConnectionRetryTimeout(value)

Applies To

SQL Server Compact Edition RDA object

Generic Parameters

Parameter Description

value

The time, in seconds, during which the SQL Server Compact Edition client will continue to retry an established connection that has failed. Valid values are 0 to 900 seconds, inclusive. The default value is 120 seconds.

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 connection. This property applies only to situations when the initial connection has succeeded and then the connection has been destroyed. If recovery occurs during the specified duration, the operation (Push, Pull, or SubmitSQL) continues. If the ConnectionRetryTimeout occurs before the connection is reestablished, the operation fails.

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

RDA Object Properties

Help and Information

Getting SQL Server Compact Edition Assistance