Event.SetEventInfo(EventInfo) 方法

定義

將 EventInfo 設定為待處理事件。

public void SetEventInfo(Microsoft.SqlServer.Management.XEvent.EventInfo eventInfo);
member this.SetEventInfo : Microsoft.SqlServer.Management.XEvent.EventInfo -> unit
Public Sub SetEventInfo (eventInfo As EventInfo)

參數

eventInfo
EventInfo

EventInfo 的一個範例

例外狀況

如果事件物件尚未處於待處理狀態。

如果輸入 eventInfo 為空。

適用於