Compartilhar via


Propriedade do RDL Session.Targets

Gets the TargetCollection.

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

Sintaxe

'Declaração
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Target))> _
Public ReadOnly Property Targets As TargetCollection 
    Get
'Uso
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

Valor da propriedade

Tipo: Microsoft.SqlServer.Management.XEvent.TargetCollection
A collection of Target objects.

Consulte também

Referência

Session Classe

Namespace Microsoft.SqlServer.Management.XEvent