SessionProviderBase(Session, String, Func<String,String>) Constructor
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.
Constructs a new SessionProviderBase for the given session.
protected SessionProviderBase (Microsoft.SqlServer.Management.XEvent.Session session, string eventSessionScript, Func<string,string> createSessionScript);
new Microsoft.SqlServer.Management.XEvent.SessionProviderBase : Microsoft.SqlServer.Management.XEvent.Session * string * Func<string, string> -> Microsoft.SqlServer.Management.XEvent.SessionProviderBase
Protected Sub New (session As Session, eventSessionScript As String, createSessionScript As Func(Of String, String))
Parameters
- session
- Session
- eventSessionScript
- String
A function that takes a session name as input and returns a sql script to create a session