Partager via


SessionProviderBase Constructors

Definition

Overloads

SessionProviderBase(Session, String)

Constructs a new SessionProviderBase for the given session.

SessionProviderBase(Session, String, Func<String,String>)

Constructs a new SessionProviderBase for the given session.

SessionProviderBase(Session, String)

Constructs a new SessionProviderBase for the given session.

protected SessionProviderBase(Microsoft.SqlServer.Management.XEvent.Session session, string scopeName);
new Microsoft.SqlServer.Management.XEvent.SessionProviderBase : Microsoft.SqlServer.Management.XEvent.Session * string -> Microsoft.SqlServer.Management.XEvent.SessionProviderBase
Protected Sub New (session As Session, scopeName As String)

Parameters

session
Session
scopeName
String

Holds a value of either "DATABASE" or "SERVER"

Applies to

SessionProviderBase(Session, String, Func<String,String>)

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
createSessionScript
Func<String,String>

A function that takes a session name as input and returns a sql script to create a session

Applies to