SqlNotificationEventArgs 類別

定義

表示傳遞至告知事件處理常式的引數集合。

public ref class SqlNotificationEventArgs : EventArgs
public class SqlNotificationEventArgs : EventArgs
type SqlNotificationEventArgs = class
    inherit EventArgs
Public Class SqlNotificationEventArgs
Inherits EventArgs
繼承
SqlNotificationEventArgs

建構函式

SqlNotificationEventArgs(SqlNotificationType, SqlNotificationInfo, SqlNotificationSource)

建立 SqlNotificationEventArgs 物件的新執行個體。

屬性

Info

取得表示通知事件原因 (例如,修改中資料庫的資料列或截斷的資料表) 的值。

Source

取得表示產生通知之來源 (例如,對查詢資料或資料庫狀態的變更) 的值。

Type

取得值,指出是因實際變更還是由訂閱產生這個告知。

適用於