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
connectionProperties1
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionPropertiesThe first IVsDataConnectionProperties object containing the connection properties to compare.
connectionProperties2
Type: Microsoft.VisualStudio.Data.Services.SupportEntities.IVsDataConnectionPropertiesThe second IVsDataConnectionProperties object containing the connection properties to compare.
Return Value
Type: System.Boolean
true if both connection objects are equivalent; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.