共用方式為


PublishedEvent.Location 屬性

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.

命名空間:  Microsoft.SqlServer.XEvent.Linq
組件:  Microsoft.SqlServer.XEvent.Linq (在 Microsoft.SqlServer.XEvent.Linq.dll 中)

語法

'宣告
Public Property Location As EventLocator 
    Get 
    Friend Set
'用途
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)

屬性值

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

請參閱

參考

PublishedEvent 類別

Microsoft.SqlServer.XEvent.Linq 命名空間