PublishedEvent.Location Property

Gets the provider internal location this event was sourced from. Use an EventLocator to retrieve the event at a later time, or to move the current location of an IEventProvider to the location of the event.

Namespace:  Microsoft.SqlServer.XEvent.Linq
Assembly:  Microsoft.SqlServer.XEvent.Linq (in Microsoft.SqlServer.XEvent.Linq.dll)

Syntax

'Declaration
Public Property Location As EventLocator 
    Get 
    Friend Set
'Usage
Dim instance As PublishedEvent 
Dim value As EventLocator 

value = instance.Location
public EventLocator Location { get; internal set; }
public:
property EventLocator^ Location {
    EventLocator^ get ();
    internal: void set (EventLocator^ value);
}
member Location : EventLocator with get, internal set
function get Location () : EventLocator 
internal function set Location (value : EventLocator)

Property Value

Type: Microsoft.SqlServer.XEvent.Linq.EventLocator
The provider internal location this even was sourced from.

See Also

Reference

PublishedEvent Class

Microsoft.SqlServer.XEvent.Linq Namespace