Partilhar via


BaseXEStore.CreateSession(String) Method

Definition

A wrapper for Session constructor to avoid accidentally passing an wrong parent.

public virtual Microsoft.SqlServer.Management.XEvent.Session CreateSession (string sessionName);
abstract member CreateSession : string -> Microsoft.SqlServer.Management.XEvent.Session
override this.CreateSession : string -> Microsoft.SqlServer.Management.XEvent.Session
Public Overridable Function CreateSession (sessionName As String) As Session

Parameters

sessionName
String

Name of the session.

Returns

A new Session.

Applies to