AdgConnection.Equals Method

Definition

Namespace: ASNA.DataGate.Client
Assembly: ASNA.QSys.DataGate.Client.dll

bool Equals(object obj)

Determines whether the current AdgConnection instance is equal to the specified object.

Remarks

This method checks if the specified object is an AdgConnection and if its SourceProfile is equal to the SourceProfile of the current instance.

Returns false if obj refers to a null instance. Otherwise returns the value of the op_Equality method invoked on the SourceProfile proprety of this AdgConnection object against the SourceProfile of the AdgConnection object being compared.

The SourceProfile is a property that contains the configuration settings for the connection, such as the database name, server name, and other connection parameters.

bool Equals(object obj)

Parameters

Type Parameter name Description
Object obj The object to compare with the current instance.

Returns

Type Description
Boolean true if the specified object is an AdgConnection and its SourceProfile is equal to the SourceProfile of the current instance; otherwise, false.

See Also

AdgConnection Class