SqlNotificationRequest.Timeout Property

Note: This property is new in the .NET Framework version 2.0.

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)

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 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 .NET Framework does not support all versions of every platform. For a list of the supported versions, see System Requirements.

.NET Framework

Supported in: 2.0

Community Additions

ADD
Show: