SqlNotificationRequest.Timeout 屬性

定義

取得或設定值,指定在作業逾時前 SQL Server 等候變更發生的時間。

public:
 property int Timeout { int get(); void set(int value); };
public int Timeout { get; set; }
member this.Timeout : int with get, set
Public Property Timeout As Integer

屬性值

帶正負號的整數 (Signed Integer) 值,指定在作業逾時前 SQL Server 等候變更發生的時間 (以秒為單位)。

例外狀況

這個值小於零。

備註

逾時期間到期之後,即使沒有任何變更,也會傳送通知。 屬性 Timeout 預設為伺服器上設定的值。

適用於

另請參閱