QueryableXEventData Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the QueryableXEventData class with the specified value.
Overloads
QueryableXEventData(String) |
Initializes a new instance of the QueryableXEventData class. |
QueryableXEventData(String[]) |
Initializes a new instance of the QueryableXEventData class with the specified lists of file. |
QueryableXEventData(String[], String[]) |
Initializes a new instance of the QueryableXEventData class with the specified lists of file and metadata files. |
QueryableXEventData(XmlReader, EventStreamSourceOptions, EventStreamCacheOptions) |
Initializes a new instance of the QueryableXEventData class. |
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.
public:
QueryableXEventData(System::String ^ fileName);
public QueryableXEventData(string fileName);
new Microsoft.SqlServer.XEvent.Linq.QueryableXEventData : string -> Microsoft.SqlServer.XEvent.Linq.QueryableXEventData
Public Sub New (fileName As String)
Parameters
- fileName
- String
File that is the source for the query.
Applies to
QueryableXEventData(String[])
Initializes a new instance of the QueryableXEventData class with the specified lists of file.
public:
QueryableXEventData(cli::array <System::String ^> ^ fileList);
public QueryableXEventData(string[] fileList);
new Microsoft.SqlServer.XEvent.Linq.QueryableXEventData : string[] -> Microsoft.SqlServer.XEvent.Linq.QueryableXEventData
Public Sub New (fileList As String())
Parameters
- fileList
- String[]
Array of files that are the source for the query.
Applies to
QueryableXEventData(String[], String[])
Initializes a new instance of the QueryableXEventData class with the specified lists of file and metadata files.
public:
QueryableXEventData(cli::array <System::String ^> ^ fileList, cli::array <System::String ^> ^ metadataFiles);
public QueryableXEventData(string[] fileList, string[] metadataFiles);
new Microsoft.SqlServer.XEvent.Linq.QueryableXEventData : string[] * string[] -> Microsoft.SqlServer.XEvent.Linq.QueryableXEventData
Public Sub New (fileList As String(), metadataFiles As String())
Parameters
- fileList
- String[]
Array of files that are the source for the query.
- metadataFiles
- String[]
Array of metadata files describing the objects in the file sources.
Applies to
QueryableXEventData(XmlReader, EventStreamSourceOptions, EventStreamCacheOptions)
Initializes a new instance of the QueryableXEventData class.
public:
QueryableXEventData(System::Xml::XmlReader ^ inputReader, Microsoft::SqlServer::XEvent::Linq::EventStreamSourceOptions sourceOption, Microsoft::SqlServer::XEvent::Linq::EventStreamCacheOptions cacheOption);
public QueryableXEventData(System.Xml.XmlReader inputReader, Microsoft.SqlServer.XEvent.Linq.EventStreamSourceOptions sourceOption, Microsoft.SqlServer.XEvent.Linq.EventStreamCacheOptions cacheOption);
new Microsoft.SqlServer.XEvent.Linq.QueryableXEventData : System.Xml.XmlReader * Microsoft.SqlServer.XEvent.Linq.EventStreamSourceOptions * Microsoft.SqlServer.XEvent.Linq.EventStreamCacheOptions -> Microsoft.SqlServer.XEvent.Linq.QueryableXEventData
Public Sub New (inputReader As XmlReader, sourceOption As EventStreamSourceOptions, cacheOption As EventStreamCacheOptions)
Parameters
- inputReader
- XmlReader
The input reader.
- sourceOption
- EventStreamSourceOptions
The source option.
- cacheOption
- EventStreamCacheOptions
The cache option.
Applies to
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.
public:
QueryableXEventData(System::String ^ connectionString, System::String ^ source, Microsoft::SqlServer::XEvent::Linq::EventStreamSourceOptions sourceOption, Microsoft::SqlServer::XEvent::Linq::EventStreamCacheOptions cacheOption);
public QueryableXEventData(string connectionString, string source, Microsoft.SqlServer.XEvent.Linq.EventStreamSourceOptions sourceOption, Microsoft.SqlServer.XEvent.Linq.EventStreamCacheOptions cacheOption);
new Microsoft.SqlServer.XEvent.Linq.QueryableXEventData : string * string * Microsoft.SqlServer.XEvent.Linq.EventStreamSourceOptions * Microsoft.SqlServer.XEvent.Linq.EventStreamCacheOptions -> Microsoft.SqlServer.XEvent.Linq.QueryableXEventData
Public Sub New (connectionString As String, source As String, sourceOption As EventStreamSourceOptions, cacheOption As EventStreamCacheOptions)
Parameters
- connectionString
- String
The SQL Server connection string that specifies the server to retrieve events from.
- source
- String
The source name.
- sourceOption
- EventStreamSourceOptions
Indicates the source of the event stream.
- cacheOption
- EventStreamCacheOptions
The event stream should be cached locally.