QueryableXEventData 类

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

继承层次结构

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

命名空间:  Microsoft.SqlServer.XEvent.Linq
程序集:  Microsoft.SqlServer.XEvent.Linq(在 Microsoft.SqlServer.XEvent.Linq.dll 中)

语法

声明
Public Class QueryableXEventData _
    Implements IQueryable(Of PublishedEvent), IEnumerable(Of PublishedEvent),  _
    IQueryable, IEnumerable, IDisposable
用法
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

QueryableXEventData 类型公开以下成员。

构造函数

  名称 说明
公共方法 QueryableXEventData(String) Initializes a new instance of the QueryableXEventData class.
公共方法 QueryableXEventData(array<String[]) Initializes a new instance of the QueryableXEventData class with the specified lists of file.
公共方法 QueryableXEventData(array<String[], array<String[]) Initializes a new instance of the QueryableXEventData class with the specified lists of file and metadata files.
公共方法 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.

页首

属性

  名称 说明
公共属性 ElementType Gets a Type value of an element.
公共属性 EventProvider Gets an IEventProvider<PublishedEvent> value.
公共属性 Expression Gets or sets an Expression value.
公共属性 Provider Gets an IQueryProvider value.

页首

方法

  名称 说明
公共方法 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.
公共方法 Equals (从 Object 继承。)
受保护方法 Finalize (从 Object 继承。)
公共方法 GetEnumerator Returns an enumerator that iterates through the collection.
公共方法 GetHashCode (从 Object 继承。)
公共方法 GetType (从 Object 继承。)
受保护方法 MemberwiseClone (从 Object 继承。)
公共方法 ToString (从 Object 继承。)

页首

显式接口实现

  名称 说明
显式接口实现私有方法 IEnumerable.GetEnumerator Returns an enumerator that iterates through the collection.

页首

线程安全

此类型的任何公共 static(在 Visual Basic 中为 Shared) 成员都是线程安全的。不保证所有实例成员都是线程安全的。

请参阅

参考

Microsoft.SqlServer.XEvent.Linq 命名空间