Compartir a través de


Session.Events Propiedad

Gets the EventCollection of the session.

Espacio de nombres:  Microsoft.SqlServer.Management.XEvent
Ensamblado:  Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)

Sintaxis

'Declaración
<SfcObjectAttribute(SfcContainerRelationship.ChildContainer, SfcContainerCardinality.ZeroToAny,  _
    GetType(Event))> _
Public ReadOnly Property Events As EventCollection 
    Get
'Uso
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

Valor de la propiedad

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

Vea también

Referencia

Session Clase

Espacio de nombres Microsoft.SqlServer.Management.XEvent