DataConnectionEquivalencyComparer Class

Provides the ability to compare data connection properties for equivalence.


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

public class DataConnectionEquivalencyComparer : DataSiteableObject<IVsDataProvider>, 
	IVsDataConnectionEquivalencyComparer, IVsDataSiteableObject<IVsDataSource>

The DataConnectionEquivalencyComparer type exposes the following members.

Public methodDataConnectionEquivalencyComparerInitializes a new instance of the DataConnectionEquivalencyComparer class.

Public propertySiteGets or sets the object site. (Inherited from DataSiteableObject<T>.)

Public methodAreEquivalent(String, String)Compares the specified connection strings to determine whether they are equivalent and hence provide the same design-time experience.
Protected methodAreEquivalent(IVsDataConnectionProperties, IVsDataConnectionProperties)Compares the specified connection property objects to determine whether they are equivalent and hence provide the same design-time experience.
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeServes as the default hash function. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Protected methodOnSiteChangedRaises the SiteChanged event. (Inherited from DataSiteableObject<T>.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)

Public eventSiteChangedOccurs when the Site property is changed. (Inherited from DataSiteableObject<T>.)

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2014 Microsoft