Método XEStore.ISfcHasConnection.GetConnection
Gets the current connection for a query.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Private Function GetConnection As ISfcConnection
Implements ISfcHasConnection.GetConnection
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Valor de retorno
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
Returns a connection that supports a single serial query, therefore, the query must end before another query can begin.
Implementa
ISfcHasConnection.GetConnection()