IEventProvider<T>.RetrieveEvent(EventLocator) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets an event at the specified event ___location without changing the point of enumeration.
public:
T RetrieveEvent(Microsoft::SqlServer::XEvent::Linq::EventLocator ^ eventLocation);
public T RetrieveEvent(Microsoft.SqlServer.XEvent.Linq.EventLocator eventLocation);
abstract member RetrieveEvent : Microsoft.SqlServer.XEvent.Linq.EventLocator -> 'T
Public Function RetrieveEvent (eventLocation As EventLocator) As T
Parameters
- eventLocation
- EventLocator
Event ___location object previously obtained from the event provider. Event locations are obtained from the Location property of PublishedEvent objects.
Returns
Published event from the ___location specified.
Remarks
This method may throw if the requested ___location is no longer available.