Metodo Server.ISfcHasConnection.SetConnection
Identificato solo a scopo informativo. Non supportato. Non è garantita la compatibilità con le versioni future. Sets a connection to an Sfc backing store.
Spazio dei nomi Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (in Microsoft.SqlServer.Smo.dll)
Sintassi
'Dichiarazione
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Utilizzo
Dim instance As Server
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 supporta l'utilizzo di implementazioni di interfacce esplicite, ma non la dichiarazione di nuove interfacce.
Parametri
- connection
Tipo: Microsoft.SqlServer.Management.Common.ISfcConnection
A ISfcConnection object that specifies the connection information.
Implementa
ISfcHasConnection.SetConnection(ISfcConnection)