Compartilhar via


DataConnectionProperties.EquivalentTo Method

Retrieves a Boolean value indicating whether the current instance of the DataConnectionProperties class is equivalent to another DataConnectionProperties instance.

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

Syntax

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

Parameters

Return Value

Type: System.Boolean
Returns true if the current DataConnectionProperties instance is equivalent to another instance of the class; otherwise returns false.

Exceptions

Exception Condition
ArgumentNullException

The connectionProperties parameter is null.

.NET Framework Security

See Also

Reference

DataConnectionProperties Class

Microsoft.VisualStudio.Data Namespace