Compartir a través de


IEventProvider<T>.RetrieveEvent Método

Gets an event at the specified event location without changing the point of enumeration.

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

Sintaxis

'Declaración
Function RetrieveEvent ( _
    eventLocation As EventLocator _
) As T
'Uso
Dim instance As IEventProvider 
Dim eventLocation As EventLocator 
Dim returnValue As T

returnValue = instance.RetrieveEvent(eventLocation)
T RetrieveEvent(
    EventLocator eventLocation
)
T RetrieveEvent(
    EventLocator^ eventLocation
)
abstract RetrieveEvent : 
        eventLocation:EventLocator -> 'T 
function RetrieveEvent(
    eventLocation : EventLocator
) : T

Parámetros

Valor devuelto

Tipo: T
Published event from the location specified.

Comentarios

This method may throw if the requested location is no longer available.

Vea también

Referencia

IEventProvider<T> Interfaz

Espacio de nombres Microsoft.SqlServer.XEvent.Linq