SqlNotificationEventArgs 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
代表傳遞給通知事件處理程序的參數集合。
public ref class SqlNotificationEventArgs : EventArgs
public class SqlNotificationEventArgs : EventArgs
type SqlNotificationEventArgs = class
inherit EventArgs
Public Class SqlNotificationEventArgs
Inherits EventArgs
- 繼承
建構函式
| 名稱 | Description |
|---|---|
| SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource) |
建立一個新的物件實例 SqlNotificationEventArgs 。 |
屬性
| 名稱 | Description |
|---|---|
| Info |
會獲得一個表示通知事件原因的值,例如資料庫中的某一列被修改或資料表被截斷。 |
| Source |
會取得一個表示通知來源的值,例如查詢資料的變更或資料庫狀態。 |
| Type |
會有一個值,表示這個通知是因為實際的變更而產生,還是訂閱產生的。 |
方法
| 名稱 | Description |
|---|---|
| Equals(Object) |
判斷指定的 物件是否等於目前的物件。 (繼承來源 Object) |
| GetHashCode() |
做為預設雜湊函式。 (繼承來源 Object) |
| GetType() |
取得目前實例的 Type。 (繼承來源 Object) |
| MemberwiseClone() |
建立目前 Object的淺層複本。 (繼承來源 Object) |
| ToString() |
傳回表示目前 物件的字串。 (繼承來源 Object) |