Export (0) Print
Expand All

SqlNotificationRequest.Timeout Property

Gets or sets a value that specifies how long SQL Server waits for a change to occur before the operation times out.

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

public int Timeout { get; set; }
/** @property */
public int get_Timeout ()

/** @property */
public void set_Timeout (int value)

public function get Timeout () : int

public function set Timeout (value : int)

Not applicable.

Property Value

A signed integer value that specifies, in seconds, how long SQL Server waits for a change to occur before the operation times out.

Exception typeCondition

ArgumentOutOfRangeException

The value is less than zero.

After the time-out period expires, the notification is sent even if no change takes place. The Timeout property defaults to the value set on the server.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft