Target.SetTargetInfo(TargetInfo) Method

Definition

Set the TargetInfo for a pending Target.

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

Parameters

targetInfo
TargetInfo

Exceptions

if the Target object is not in pending state.

if the input targetInfo is null.

Applies to