Share via


Session Constructor (XEStore, String)

Initializes a new instance of Session class.

Namespace:  Microsoft.SqlServer.Management.XEvent
Assembly:  Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)

Syntax

'Declaration
Public Sub New ( _
    parent As XEStore, _
    name As String _
)
'Usage
Dim parent As XEStore 
Dim name As String 

Dim instance As New Session(parent, _
    name)
public Session(
    XEStore parent,
    string name
)
public:
Session(
    XEStore^ parent, 
    String^ name
)
new : 
        parent:XEStore * 
        name:string -> Session
public function Session(
    parent : XEStore, 
    name : String
)

Parameters

  • name
    Type: System.String
    A string value that specifies the name.

See Also

Reference

Session Class

Session Overload

Microsoft.SqlServer.Management.XEvent Namespace