BaseXEStore.CreateSession(String) Method
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.
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.