Condividi tramite


Proprietà Session.Events

Gets the EventCollection of the session.

Spazio dei nomi  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Sintassi

'Dichiarazione
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Event))> _
Public ReadOnly Property Events As EventCollection 
    Get
'Utilizzo
Dim instance As Session 
Dim value As EventCollection 

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

Valore proprietà

Tipo: Microsoft.SqlServer.Management.XEvent.EventCollection
The EventCollection object.

Vedere anche

Riferimento

Session Classe

Spazio dei nomi Microsoft.SqlServer.Management.XEvent