Share via


SessionProviderBase Class

Definition

Sql provider for Session.

public abstract class SessionProviderBase : Microsoft.SqlServer.Management.XEvent.ISessionProvider
type SessionProviderBase = class
    interface ISessionProvider
Public MustInherit Class SessionProviderBase
Implements ISessionProvider
Inheritance
SessionProviderBase
Implements

Constructors

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

Constructs a new SessionProviderBase for the given session.

Methods

GetAlterScript()

Script Alter for this session.

GetCreateScript()

Script Create for this session.

GetDropScript()

Scripts Drop for this session.

Start()

Starts this session.

Stop()

Stops this session.

ValidateAlter()

Backend specfic validations to Alter the session. NB: In case of sql engine the Alter statement is not atomic so it uses a dummy session to validate before executing alter on the actual session.

Applies to