This documentation is archived and is not being maintained.

SqlCeReplication.ReceiveTimeout Property

Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits for the response to a server request.

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

public int ReceiveTimeout { get; set; }
/** @property */
public int get_ReceiveTimeout ()

/** @property */
public void set_ReceiveTimeout (int value)

public function get ReceiveTimeout () : int

public function set ReceiveTimeout (value : int)

Not applicable.

Property Value

An System:Int32 value that represents the time-out, in milliseconds, with a default of 60 seconds.

If a response takes longer than the value specified in ReceiveTimeout the request is canceled.

The maximum time-out allowed is 360 seconds. For recommendations on setting this time-out value, see "Optimizing Connectivity" in the SQL Server Compact Edition Books Online.

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

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0