Método XEStore.ISfcHasConnection.SetConnection
Sets the active connection.
Namespace: Microsoft.SqlServer.Management.XEvent
Assembly: Microsoft.SqlServer.Management.XEvent (em Microsoft.SqlServer.Management.XEvent.dll)
Sintaxe
'Declaração
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Uso
Dim instance As XEStore
Dim connection As ISfcConnection
CType(instance, ISfcHasConnection).SetConnection(connection)
void ISfcHasConnection.SetConnection(
ISfcConnection connection
)
private:
virtual void SetConnection(
ISfcConnection^ connection
) sealed = ISfcHasConnection::SetConnection
private abstract SetConnection :
connection:ISfcConnection -> unit
private override SetConnection :
connection:ISfcConnection -> unit
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.
Parâmetros
- connection
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
The specified ISfcConnection object.
Implementa
ISfcHasConnection.SetConnection(ISfcConnection)