Méthode Utility.ISfcHasConnection.SetConnection
Sets the ISfcConnection.
Espace de noms : Microsoft.SqlServer.Management.Utility
Assembly : Microsoft.SqlServer.Management.Utility (en Microsoft.SqlServer.Management.Utility.dll)
Syntaxe
'Déclaration
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Utilisation
Dim instance As Utility
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
The ISfcConnection object.
Implémente
ISfcHasConnection.SetConnection(ISfcConnection)