Compartilhar via


Método Equals (SfcConnection)

Determines whether the specified server connection is equal to the current SqlStoreConnection object. Não referencie esse membro diretamente no código. Ele dá suporte à infraestrutura do SQL Server.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (em Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxe

'Declaração
Public Overrides Function Equals ( _
    conn As SfcConnection _
) As Boolean
'Uso
Dim instance As SqlStoreConnection
Dim conn As SfcConnection
Dim returnValue As Boolean

returnValue = instance.Equals(conn)
public override bool Equals(
    SfcConnection conn
)
public:
virtual bool Equals(
    SfcConnection^ conn
) override
abstract Equals : 
        conn:SfcConnection -> bool 
override Equals : 
        conn:SfcConnection -> bool 
public override function Equals(
    conn : SfcConnection
) : boolean

Parâmetros

Valor de retorno

Tipo: System. . :: . .Boolean
A Boolean value indicating whether the values are equal. If true, the values are equal. Otherwise, false.