SqlCeReplication.LoginTimeout Property

Specifies the maximum number of seconds to wait for connections to be established. This property affects the connection time between the computer running Internet Information Services (IIS) and the Publisher or Distributor. It does not control the connection time between the smart device and IIS.

Namespace: System.Data.SqlServerCe
Assembly: System.Data.SqlServerCe (in system.data.sqlserverce.dll)

Syntax

'Declaration
Public Property LoginTimeout As Short
'Usage
Dim instance As SqlCeReplication
Dim value As Short

value = instance.LoginTimeout

instance.LoginTimeout = value
public short LoginTimeout { get; set; 
public:
property short LoginTimeout {
    short get ();
    void set (short value);
/** @property */
public short get_LoginTimeout ()

/** @property */
public void set_LoginTimeout (short value)
public function get LoginTimeout () : short

public function set LoginTimeout (value : short)

Property Value

The number of seconds for connections to be established. The default is 15 seconds.

.NET Framework Security

  • Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see .

Platforms

Windows CE, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows XP Professional x64 Edition, Windows XP SP2

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

Version Information

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace