Partilhar via


Método DataConnectionEquivalencyComparer.AreEquivalent (IVsDataConnectionProperties, IVsDataConnectionProperties)

Compara os objetos específicos da propriedade de conexão para determinar se são equivalentes e portanto para fornecer a mesma experiência em tempo de design.

Namespace:  Microsoft.VisualStudio.Data.Framework
Assembly:  Microsoft.VisualStudio.Data.Framework (em Microsoft.VisualStudio.Data.Framework.dll)

Sintaxe

'Declaração
Protected Overridable Function AreEquivalent ( _
    connectionProperties1 As IVsDataConnectionProperties, _
    connectionProperties2 As IVsDataConnectionProperties _
) As Boolean
protected virtual bool AreEquivalent(
    IVsDataConnectionProperties connectionProperties1,
    IVsDataConnectionProperties connectionProperties2
)
protected:
virtual bool AreEquivalent(
    IVsDataConnectionProperties^ connectionProperties1, 
    IVsDataConnectionProperties^ connectionProperties2
)
abstract AreEquivalent : 
        connectionProperties1:IVsDataConnectionProperties * 
        connectionProperties2:IVsDataConnectionProperties -> bool 
override AreEquivalent : 
        connectionProperties1:IVsDataConnectionProperties * 
        connectionProperties2:IVsDataConnectionProperties -> bool 
protected function AreEquivalent(
    connectionProperties1 : IVsDataConnectionProperties, 
    connectionProperties2 : IVsDataConnectionProperties
) : boolean

Parâmetros

Valor de retorno

Tipo: System.Boolean
true se os dois objetos de conexão são equivalentes; caso contrário, false.

Segurança do .NET Framework

Consulte também

Referência

DataConnectionEquivalencyComparer Classe

Sobrecargas AreEquivalent

Namespace Microsoft.VisualStudio.Data.Framework