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
'Usage
Dim connectionProperties1 As IVsDataConnectionProperties 
Dim connectionProperties2 As IVsDataConnectionProperties 
Dim returnValue As Boolean 

returnValue = Me.AreEquivalent(connectionProperties1, _
    connectionProperties2)
protected virtual bool AreEquivalent(
    IVsDataConnectionProperties connectionProperties1,
    IVsDataConnectionProperties connectionProperties2
)
protected:
virtual bool AreEquivalent(
    IVsDataConnectionProperties^ connectionProperties1, 
    IVsDataConnectionProperties^ connectionProperties2
)
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

DataConnectionEquivalencyComparer Members

AreEquivalent Overload

Microsoft.VisualStudio.Data.Framework Namespace