Condition.Key.Equality Operator (Condition.Key, Condition.Key)

 
equivalentCodeEntityM:Microsoft.SqlServer.Management.Dmf.Condition.Key.Equals(Microsoft.SqlServer.Management.Dmf.Condition.Key,Microsoft.SqlServer.Management.Dmf.Condition.Key)

Performs a Boolean equality operation to determine whether two Condition keys reference the same condition.

Namespace:   Microsoft.SqlServer.Management.Dmf
Assembly:  Microsoft.SqlServer.Dmf (in Microsoft.SqlServer.Dmf.dll)

public static bool operator ==(
	Condition.Key leftOperand,
	Condition.Key rightOperand
)

Parameters

leftOperand
Type: Microsoft.SqlServer.Management.Dmf.Condition.Key

A Condition.Key object representing one of the condition keys to compare.

rightOperand
Type: Microsoft.SqlServer.Management.Dmf.Condition.Key

A Condition.Key object representing the other condition keys to compare.

Return Value

Type: System.Boolean

A Boolean value specifying whether the two condition keys are the same. Returns True if both parameters are null or reference the same condition. Otherwise, returns False.

Return to top
Show: