Target.SetTargetInfo(TargetInfo) 方法

定義

將目標資訊設定為待處理目標。

public void SetTargetInfo(Microsoft.SqlServer.Management.XEvent.TargetInfo targetInfo);
member this.SetTargetInfo : Microsoft.SqlServer.Management.XEvent.TargetInfo -> unit
Public Sub SetTargetInfo (targetInfo As TargetInfo)

參數

targetInfo
TargetInfo

例外狀況

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

如果輸入 targetInfo 為空。

適用於