Share via


SqlCeReplication.ConnectTimeout 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]

Gets or sets the amount of time, in milliseconds, that the SqlCeReplication object waits for a connection to the server.

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

Syntax

'Declaration
Public Property ConnectTimeout As Integer
    Get
    Set
'Usage
Dim instance As SqlCeReplication
Dim value As Integer

value = instance.ConnectTimeout

instance.ConnectTimeout = value
public int ConnectTimeout { get; set; }
public:
property int ConnectTimeout {
    int get ();
    void set (int value);
}
member ConnectTimeout : int with get, set
function get ConnectTimeout () : int
function set ConnectTimeout (value : int)

Property Value

Type: System.Int32
An [T:System:Int32] value that represents the time-out, in milliseconds, with no default.

See Also

Reference

SqlCeReplication Class

System.Data.SqlServerCe Namespace