共用方式為


SqlCeReplication.QueryTimeout Property

Specifies the number of seconds allowed for internal queries to complete.

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

Syntax

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

value = instance.QueryTimeout

instance.QueryTimeout = value
public short QueryTimeout { get; set; }
public:
property short QueryTimeout {
    short get ();
    void set (short value);
}
/** @property */
public short get_QueryTimeout ()

/** @property */
public void set_QueryTimeout (short value)
public function get QueryTimeout () : short

public function set QueryTimeout (value : short)
Not applicable.

Property Value

The number of seconds allowed for internal queries to be returned. The default is 300 seconds.

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

.NET Compact Framework

Supported in: 2.0, 1.0

See Also

Reference

SqlCeReplication Class
SqlCeReplication Members
System.Data.SqlServerCe Namespace