Share via


AdoDotNetConnectionProperties.EquivalentTo Method

Tests whether the current instance of the class is equivalent to another class instance.

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

Syntax

'Declaration
Public Overrides Function EquivalentTo ( _
    connectionProperties As DataConnectionProperties _
) As Boolean
public override bool EquivalentTo(
    DataConnectionProperties connectionProperties
)
public:
virtual bool EquivalentTo(
    DataConnectionProperties^ connectionProperties
) override
abstract EquivalentTo : 
        connectionProperties:DataConnectionProperties -> bool  
override EquivalentTo : 
        connectionProperties:DataConnectionProperties -> bool
public override function EquivalentTo(
    connectionProperties : DataConnectionProperties
) : boolean

Parameters

Return Value

Type: System.Boolean
Returns true if the specified object instances are equivalent; otherwise returns false.

Exceptions

Exception Condition
ArgumentNullException

The connectionProperties parameter is null.

Remarks

Equivalency in this context confirms that two connection properties instances establish identical connections.

Overrides the EquivalentTo method.

.NET Framework Security

See Also

Reference

AdoDotNetConnectionProperties Class

Microsoft.VisualStudio.Data.AdoDotNet Namespace