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 命名空间