Share via


The ReceiveTimeout property specifies the amount of time, in milliseconds, that the SQL Server Compact 3.5 client waits for the response to a server request.

object.ReceiveTimeout(value)

Applies To

SQL Server Compact 3.5 RDA object

Generic Parameters

Parameter

Description

value

The time, in milliseconds, during which the SQL Server Compact 3.5 client will continue to wait for the response to a server request. Valid values are 0 to 360 seconds. The default is 60 seconds.

Data Type

Integer

Modifiable

Read/write

Prototype

HRESULT get_ReceiveTimeout(long *pVal);
HRESULT put_ReceiveTimeout(long newVal);

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

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

Reference

RDA Object Properties