SendTimeout Property
Gets or sets the amount of time, in milliseconds, that the SqlCeRemoteDataAccess object waits to send a request to the server.
Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)
Syntax
'Declaration
Public Property SendTimeout As Integer
Get
Set
'Usage
Dim instance As SqlCeRemoteDataAccess
Dim value As Integer
value = instance.SendTimeout
instance.SendTimeout = value
public int SendTimeout { get; set; }
public:
property int SendTimeout {
int get ();
void set (int value);
}
member SendTimeout : int with get, set
function get SendTimeout () : int
function set SendTimeout (value : int)
Property Value
Type: System. . :: . .Int32
An Int32 value that represents the time-out, in milliseconds, with no default.
Remarks
If a request takes longer than the value specified in ConnectTimeout 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.