Méthode XEStore.ISfcHasConnection.GetConnection
Gets the current connection for a query.
Espace de noms : Microsoft.SqlServer.Management.XEvent
Assembly : Microsoft.SqlServer.Management.XEvent (en Microsoft.SqlServer.Management.XEvent.dll)
Syntaxe
'Déclaration
Private Function GetConnection As ISfcConnection
Implements ISfcHasConnection.GetConnection
'Utilisation
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Valeur de retour
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.
Implémente
ISfcHasConnection.GetConnection()