Share via


SqlCeRemoteDataAccess.ConnectionRetryTimeout Property

Specifies how long (in seconds) the SQL Mobile client will continue to retry sending failed requests.

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

Syntax

'Declaration
Public Property ConnectionRetryTimeout As Short
'Usage
Dim instance As SqlCeRemoteDataAccess
Dim value As Short

value = instance.ConnectionRetryTimeout

instance.ConnectionRetryTimeout = value
public short ConnectionRetryTimeout { get; set; 
public:
property short ConnectionRetryTimeout {
    short get ();
    void set (short value);
/** @property */
public short get_ConnectionRetryTimeout ()

/** @property */
public void set_ConnectionRetryTimeout (short value)
public function get ConnectionRetryTimeout () : short

public function set ConnectionRetryTimeout (value : short)

Remarks

The ConnectionRetryTimeout property allows you to specify an amount of time that the SQL Mobile client will attempt to recover from a failed connection. This property only applies 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.

.NET Framework Security

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

Platforms

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.

Version Information

.NET Compact Framework

Supported in: 2.0

See Also

Reference

SqlCeRemoteDataAccess Class
SqlCeRemoteDataAccess Members
System.Data.SqlServerCe Namespace