Método Server.ISfcHasConnection.SetConnection
Identificado apenas para fins informativos. Sem suporte. A compatibilidade futura não está garantida. Sets a connection to an Sfc backing store.
Namespace: Microsoft.SqlServer.Management.Smo
Assembly: Microsoft.SqlServer.Smo (em Microsoft.SqlServer.Smo.dll)
Sintaxe
'Declaração
Private Sub SetConnection ( _
connection As ISfcConnection _
) Implements ISfcHasConnection.SetConnection
'Uso
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 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
A ISfcConnection object that specifies the connection information.
Implementa
ISfcHasConnection.SetConnection(ISfcConnection)