QueryableXEventData Class

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

Inheritance Hierarchy

System.Object
  Microsoft.SqlServer.XEvent.Linq.QueryableXEventData

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

Syntax

'Declaration
Public Class QueryableXEventData _
    Implements IQueryable(Of PublishedEvent), IEnumerable(Of PublishedEvent),  _
    IQueryable, IEnumerable, IDisposable
'Usage
Dim instance As QueryableXEventData
public class QueryableXEventData : IQueryable<PublishedEvent>, 
    IEnumerable<PublishedEvent>, IQueryable, IEnumerable, IDisposable
public ref class QueryableXEventData : IQueryable<PublishedEvent^>, 
    IEnumerable<PublishedEvent^>, IQueryable, IEnumerable, IDisposable
type QueryableXEventData =  
    class 
        interface IQueryable<PublishedEvent>
        interface IEnumerable<PublishedEvent>
        interface IQueryable 
        interface IEnumerable 
        interface IDisposable 
    end
public class QueryableXEventData implements IQueryable<PublishedEvent>, IEnumerable<PublishedEvent>, IQueryable, IEnumerable, IDisposable

The QueryableXEventData type exposes the following members.

Constructors

  Name Description
Public method QueryableXEventData(String) Initializes a new instance of the QueryableXEventData class.
Public method QueryableXEventData(array<String[]) Initializes a new instance of the QueryableXEventData class with the specified lists of file.
Public method QueryableXEventData(array<String[], array<String[]) Initializes a new instance of the QueryableXEventData class with the specified lists of file and metadata files.
Public method 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.

Top

Properties

  Name Description
Public property ElementType Gets a Type value of an element.
Public property EventProvider Gets an IEventProvider<PublishedEvent> value.
Public property Expression Gets or sets an Expression value.
Public property Provider Gets an IQueryProvider value.

Top

Methods

  Name Description
Public method Dispose() Releases the resources used by the current instance of the QueryableXEventData class.
Protected method 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.
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetEnumerator Returns an enumerator that iterates through the collection.
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

Explicit Interface Implementations

  Name Description
Explicit interface implemetationPrivate method IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.

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