Export (0) Print
Expand All

SqlHierarchyId.Equality Operator

Evaluates whether two SqlHierarchyId nodes are equal.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

public static SqlBoolean operator ==(
	SqlHierarchyId hid1,
	SqlHierarchyId hid2
)

Parameters

hid1
Type: Microsoft.SqlServer.Types.SqlHierarchyId
First node to compare.
hid2
Type: Microsoft.SqlServer.Types.SqlHierarchyId
Second node to compare.

Return Value

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

Returns null if either hid1 or hid2 are null.

This member is static.

Community Additions

ADD
Show:
© 2014 Microsoft