Méthode CollectorConfigStore.ISfcHasConnection.SetConnection
Sets the active connection for the domain root. Do not reference this member directly in your code. It supports the SQL Server infrastructure.
Espace de noms : Microsoft.SqlServer.Management.Collector
Assembly : Microsoft.SqlServer.Management.Collector (en Microsoft.SqlServer.Management.Collector.dll)
Syntaxe
'Déclaration
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Utilisation
Dim instance As CollectorConfigStore
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 prend en charge l'utilisation d'implémentations d'interface explicites, mais pas la déclaration de nouvelles implémentations d'interface.
Paramètres
- connection
Type : Microsoft.SqlServer.Management.Common.ISfcConnection
An ISfcConnection object that represents the connection to use.
Implémente
ISfcHasConnection.SetConnection(ISfcConnection)