Partager via


DataConnectionEquivalencyComparer.AreEquivalent Method (IVsDataConnectionProperties, IVsDataConnectionProperties)

Compares the specified connection property objects to determine whether they are equivalent and hence provide the same design-time experience.

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

Syntax

'Declaration
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

Parameters

Return Value

Type: System.Boolean
true if both connection objects are equivalent; otherwise, false.

.NET Framework Security

See Also

Reference

DataConnectionEquivalencyComparer Class

AreEquivalent Overload

Microsoft.VisualStudio.Data.Framework Namespace