共用方式為


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