QueryableXEventData Class

Definition

Represents the main entry point for querying extended events data sources.

public ref class QueryableXEventData : IDisposable, System::Collections::Generic::IEnumerable<Microsoft::SqlServer::XEvent::Linq::PublishedEvent ^>, System::Linq::IQueryable<Microsoft::SqlServer::XEvent::Linq::PublishedEvent ^>
public class QueryableXEventData : IDisposable, System.Collections.Generic.IEnumerable<Microsoft.SqlServer.XEvent.Linq.PublishedEvent>, System.Linq.IQueryable<Microsoft.SqlServer.XEvent.Linq.PublishedEvent>
type QueryableXEventData = class
    interface IQueryable<PublishedEvent>
    interface seq<PublishedEvent>
    interface IQueryable
    interface IEnumerable
    interface IDisposable
Public Class QueryableXEventData
Implements IDisposable, IEnumerable(Of PublishedEvent), IQueryable(Of PublishedEvent)
Inheritance
QueryableXEventData
Implements

Constructors

Name Description
QueryableXEventData(String, String, EventStreamSourceOptions, EventStreamCacheOptions)

Initializes a new instance of the QueryableXEventData class with the specified connection string, session name, source option and cache option.

QueryableXEventData(String)

Initializes a new instance of the QueryableXEventData class.

QueryableXEventData(String[], String[])

Initializes a new instance of the QueryableXEventData class with the specified lists of file and metadata files.

QueryableXEventData(String[])

Initializes a new instance of the QueryableXEventData class with the specified lists of file.

QueryableXEventData(XmlReader, EventStreamSourceOptions, EventStreamCacheOptions)

Initializes a new instance of the QueryableXEventData class.

Properties

Name Description
ElementType

Gets a Type value of an element.

EventProvider

Gets an IEventProvider&lt;PublishedEvent&gt; value.

Expression

Gets or sets an Expression value.

Provider

Gets an IQueryProvider value.

Methods

Name Description
Dispose()

Releases the resources used by the current instance of the QueryableXEventData class.

Dispose(Boolean)

Called by the Dispose() and Finalize() methods to release the managed and unmanaged resources used by the current instance of the QueryableXEventData class.

GetEnumerator()

Returns an enumerator that iterates through the collection.

Explicit Interface Implementations

Name Description
IEnumerable.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to