Share via


TargetField Constructors

Definition

Overloads

TargetField()

Default constructor

TargetField(Target, TargetColumnInfo)

Constructor takes a Target and a name as parameters

TargetField()

Default constructor

public TargetField ();
Public Sub New ()

Applies to

TargetField(Target, TargetColumnInfo)

Constructor takes a Target and a name as parameters

public TargetField (Microsoft.SqlServer.Management.XEvent.Target parent, Microsoft.SqlServer.Management.XEvent.TargetColumnInfo targetColumnInfo);
new Microsoft.SqlServer.Management.XEvent.TargetField : Microsoft.SqlServer.Management.XEvent.Target * Microsoft.SqlServer.Management.XEvent.TargetColumnInfo -> Microsoft.SqlServer.Management.XEvent.TargetField
Public Sub New (parent As Target, targetColumnInfo As TargetColumnInfo)

Parameters

parent
Target

The parent.

targetColumnInfo
TargetColumnInfo

The target column info.

Exceptions

Parameter parent or targetColumnInfo is null.

targetColumnInfo's parent(or grandparent) is null. Mostly because it's not enumerated correctly.

Parameter targetColumnInfo is invalid.

Applies to