共用方式為


DataConnectionProperties.EquivalentTo(DataConnectionProperties) Method

Definition

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

public:
 virtual bool EquivalentTo(Microsoft::VisualStudio::Data::DataConnectionProperties ^ connectionProperties);
public virtual bool EquivalentTo (Microsoft.VisualStudio.Data.DataConnectionProperties connectionProperties);
abstract member EquivalentTo : Microsoft.VisualStudio.Data.DataConnectionProperties -> bool
override this.EquivalentTo : Microsoft.VisualStudio.Data.DataConnectionProperties -> bool
Public Overridable Function EquivalentTo (connectionProperties As DataConnectionProperties) As Boolean

Parameters

connectionProperties
DataConnectionProperties

The data connection properties instance to compare against.

Returns

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

Exceptions

The connectionProperties parameter is null.

Applies to