Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The ReceiveTimeout property specifies the amount of time, in milliseconds, that the SQL Server Compact 3.5 (SQL Server Compact 3.5) client waits for the response to a server request.
Syntax
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);
Remarks
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).