Partilhar via


Método ISfcConnection.Copy

Uses the SFC connection to copy the server connection.

Namespace:  Microsoft.SqlServer.Management.Common
Assembly:  Microsoft.SqlServer.ConnectionInfo (em Microsoft.SqlServer.ConnectionInfo.dll)

Sintaxe

'Declaração
Private Function Copy As ISfcConnection Implements ISfcConnection.Copy
'Uso
Dim instance As ServerConnection
Dim returnValue As ISfcConnection

returnValue = CType(instance, ISfcConnection).Copy()
ISfcConnection ISfcConnection.Copy()
private:
virtual ISfcConnection^ Copy() sealed = ISfcConnection::Copy
private abstract Copy : unit -> ISfcConnection 
private override Copy : unit -> ISfcConnection 
JScript dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Valor de retorno

Tipo: Microsoft.SqlServer.Management.Common. . :: . .ISfcConnection
A ISfcConnectionRepresenting a copy of this connection..

Implementa

ISfcConnection. . :: . .Copy() () () ()