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
connectionProperties
Type: Microsoft.VisualStudio.Data.DataConnectionPropertiesThe data connection properties instance to compare against.
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
- 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.