SqlCeReplication.SendTimeout Property

Gets or sets the amount of time, in milliseconds, that the SqlCeReplication 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
'Usage
Dim instance As SqlCeReplication
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);
}
/** @property */
public int get_SendTimeout ()

/** @property */
public void set_SendTimeout (int value)
public function get SendTimeout () : int

public function set SendTimeout (value : int)
Not applicable.

Property Value

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 SQL Server Compact Edition Books Online.

Platforms

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.

Version Information

.NET Framework

Supported in: 3.0

See Also

Reference

SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace