Share via


SqlCeReplication.ConnectionRetryTimeout Property

This type has a SecurityCriticalAttribute attribute, which restricts it to internal use by the .NET Framework for Silverlight class library. Application code that uses any member of this type throws a MethodAccessException.

[SECURITY CRITICAL]

Specifies how long (in seconds) the SQL Server Compact client will continue to retry sending requests after an established connection has failed.

Namespace:  System.Data.SqlServerCe
Assembly:  System.Data.SqlServerCe (in System.Data.SqlServerCe.dll)

Syntax

'Declaration
Public Property ConnectionRetryTimeout As Short
    Get
    Set
'Usage
Dim instance As SqlCeReplication
Dim value As Short

value = instance.ConnectionRetryTimeout

instance.ConnectionRetryTimeout = value
public short ConnectionRetryTimeout { get; set; }
public:
property short ConnectionRetryTimeout {
    short get ();
    void set (short value);
}
member ConnectionRetryTimeout : int16 with get, set
function get ConnectionRetryTimeout () : short
function set ConnectionRetryTimeout (value : short)

Property Value

Type: System.Int16
The ConnectionRetryTimeout value, with a default value of 120 seconds.

See Also

Reference

SqlCeReplication Class

System.Data.SqlServerCe Namespace