Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the current connection for a query.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (in Microsoft.SqlServer.Management.XEvent.dll)
Syntax
'Declaration
Private Function GetConnection As ISfcConnection
Implements ISfcHasConnection.GetConnection
'Usage
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 supports the use of explicit interface implementations, but not the declarations of new ones.
Return Value
Type: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns a connection that supports a single serial query, therefore, the query must end before another query can begin.
Implements
ISfcHasConnection.GetConnection()