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
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.
See Also
Reference
DataConnectionEquivalencyComparer Class