共用方式為


PublishedEvent 類別

An instance of an event from an event source. Use this object to obtain field and action data as well as metadata about the event object.

繼承階層

System.Object
  Microsoft.SqlServer.XEvent.Linq.PublishedEvent

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

語法

'宣告
Public Class PublishedEvent
'用途
Dim instance As PublishedEvent
public class PublishedEvent
public ref class PublishedEvent
type PublishedEvent =  class end
public class PublishedEvent

PublishedEvent 型別公開下列成員。

屬性

  名稱 說明
公用屬性 Actions Gets a list of actions.
公用屬性 Fields Gets a list of fields containing the data of the published event.
公用屬性 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.
公用屬性 Metadata Gets the metadata for the event object.
公用屬性 Name Gets the name of the event object.
公用屬性 Package Gets the package this event was produced from.
公用屬性 Timestamp Gets the time this event was produced.
公用屬性 UUID Gets the globally unique identifier of the event object.

上層

方法

  名稱 說明
公用方法 Equals (繼承自 Object。)
受保護的方法 Finalize (繼承自 Object。)
公用方法 GetHashCode (繼承自 Object。)
公用方法 GetType (繼承自 Object。)
受保護的方法 MemberwiseClone (繼承自 Object。)
公用方法 ToString (繼承自 Object。)

上層

執行緒安全性

這個型別的任何公用 static (在 Visual Basic 中為 Shared) 成員都是執行緒安全的。並不是所有的執行個體成員都保證可以用於所有的執行緒。

請參閱

參考

Microsoft.SqlServer.XEvent.Linq 命名空間