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
パラメーター
- sessionName
型: System.String
Session オブジェクトの名前を示す文字列値です。
戻り値
型: Microsoft.SqlServer.Management.XEvent.Session
Session オブジェクトです。