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 System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property ReceiveTimeout As Integer
Get
Set
'Usage
Dim instance As SqlCeReplication
Dim value As Integer
value = instance.ReceiveTimeout
instance.ReceiveTimeout = value
public int ReceiveTimeout { get; set; }
public:
property int ReceiveTimeout {
int get ();
void set (int value);
}
member ReceiveTimeout : int with get, set
function get ReceiveTimeout () : int
function set ReceiveTimeout (value : int)
Property Value
Type: System. . :: . .Int32
An [T:System:Int32] value that represents the time-out, in milliseconds, with a default of 60 seconds.
Remarks
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 Books Online.