Propriété Session.Targets
Gets the TargetCollection.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny, _
GetType(Target))> _
Public ReadOnly Property Targets As TargetCollection
Get
'Utilisation
Dim instance As Session
Dim value As TargetCollection
value = instance.Targets
[SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Target))]
public TargetCollection Targets { get; }
[SfcObjectAttribute(SfcContainerRelationship::ChildContainer, SfcContainerCardinality::ZeroToAny,
typeof(Target))]
public:
property TargetCollection^ Targets {
TargetCollection^ get ();
}
[<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,
typeof(Target))>]
member Targets : TargetCollection
function get Targets () : TargetCollection
Valeur de propriété
Type : Microsoft.SqlServer.Management.XEvent.TargetCollection
A collection of Target objects.