Target.TargetFields Property

Gets the TargetColumnInfoCollection.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(TargetField))> _
Public ReadOnly Property TargetFields As TargetFieldCollection 
    Get
'Usage
Dim instance As Target 
Dim value As TargetFieldCollection 

value = instance.TargetFields
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetField))]
public TargetFieldCollection TargetFields { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny, 
    typeof(TargetField))]
public:
property TargetFieldCollection^ TargetFields {
    TargetFieldCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, 
    typeof(TargetField))>]
member TargetFields : TargetFieldCollection
function get TargetFields () : TargetFieldCollection

Property Value

Type: Microsoft.SqlServer.Management.XEvent.TargetFieldCollection
A collection of TargetColumnInfo objects.

See Also

Reference

Target Class

Microsoft.SqlServer.Management.XEvent Namespace