Dela via


PublishedEvent Class

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.

Inheritance Hierarchy

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

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

Syntax

'Declaration
Public Class PublishedEvent
'Usage
Dim instance As PublishedEvent
public class PublishedEvent
public ref class PublishedEvent
type PublishedEvent =  class end
public class PublishedEvent

The PublishedEvent type exposes the following members.

Properties

  Name Description
Public property Actions Gets a list of actions.
Public property Fields Gets a list of fields containing the data of the published event.
Public property 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.
Public property Metadata Gets the metadata for the event object.
Public property Name Gets the name of the event object.
Public property Package Gets the package this event was produced from.
Public property Timestamp Gets the time this event was produced.
Public property UUID Gets the globally unique identifier of the event object.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.SqlServer.XEvent.Linq Namespace