言語

IEventProvider<T>.RetrieveEvent(EventLocator) メソッド

定義

列挙点を変えずに指定されたイベント場所でイベントを得ます。

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

パラメーター

eventLocation
EventLocator

イベント提供元から取得したイベントロケーションオブジェクト。 イベントの位置は、PublishedEventオブジェクトのLocationプロパティから取得されます。

返品

T

指定された場所から公開されたイベント。

注釈

この方法は、要求された場所が利用できない場合にスローされることがあります。

適用対象