Target.SetTargetInfo(TargetInfo) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.