SqlHierarchyId.Equality(SqlHierarchyId, SqlHierarchyId) Operator

Definition

Evaluates whether two SqlHierarchyId nodes are equal.

public static System.Data.SqlTypes.SqlBoolean operator == (Microsoft.SqlServer.Types.SqlHierarchyId hid1, Microsoft.SqlServer.Types.SqlHierarchyId hid2);
static member ( = ) : Microsoft.SqlServer.Types.SqlHierarchyId * Microsoft.SqlServer.Types.SqlHierarchyId -> System.Data.SqlTypes.SqlBoolean
Public Shared Operator == (hid1 As SqlHierarchyId, hid2 As SqlHierarchyId) As SqlBoolean

Parameters

hid1
SqlHierarchyId

First node to compare.

hid2
SqlHierarchyId

Second node to compare.

Returns

Boolean. true (1) if hid1 and hid2 are equal; otherwise, false (0).

Applies to