XEStore.CreateSession メソッド

誤って間違った親を渡すのを防ぐために使用される Session コンストラクターのラッパーを表します。

名前空間:  Microsoft.SqlServer.Management.XEvent
アセンブリ:  Microsoft.SqlServer.Management.XEvent (Microsoft.SqlServer.Management.XEvent.dll)

構文

'宣言
Public Function CreateSession ( _
    sessionName As String _
) As Session
'使用
Dim instance As XEStore 
Dim sessionName As String 
Dim returnValue As Session 

returnValue = instance.CreateSession(sessionName)
public Session CreateSession(
    string sessionName
)
public:
Session^ CreateSession(
    String^ sessionName
)
member CreateSession : 
        sessionName:string -> Session
public function CreateSession(
    sessionName : String
) : Session

パラメーター

戻り値

型: Microsoft.SqlServer.Management.XEvent.Session
Session オブジェクトです。

関連項目

参照

XEStore クラス

Microsoft.SqlServer.Management.XEvent 名前空間