XEStore.ISfcHasConnection.GetConnection メソッド

クエリの現在の接続を取得します。

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

構文

'宣言
Private Function GetConnection As ISfcConnection 
    Implements ISfcHasConnection.GetConnection
'使用
Dim instance As XEStore 
Dim returnValue As ISfcConnection 

returnValue = CType(instance, ISfcHasConnection).GetConnection()
ISfcConnection ISfcHasConnection.GetConnection()
private:
virtual ISfcConnection^ GetConnection() sealed = ISfcHasConnection::GetConnection
private abstract GetConnection : unit -> ISfcConnection  
private override GetConnection : unit -> ISfcConnection
JScript は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。

戻り値

型: Microsoft.SqlServer.Management.Common.ISfcConnection
単一の直列クエリをサポートする接続を返します。単一の直列クエリであるため、このクエリが完了しなければ、別のクエリを開始することはできません。

実装

ISfcHasConnection.GetConnection()

関連項目

参照

XEStore クラス

GetConnection オーバーロード

Microsoft.SqlServer.Management.XEvent 名前空間