Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlHierarchyId.Inequality Operator (SqlHierarchyId, SqlHierarchyId)

 

Applies To: SQL Server 2016 Preview

equivalentCodeEntityM:Microsoft.SqlServer.Types.SqlHierarchyId.Compare(Microsoft.SqlServer.Types.SqlHierarchyId,Microsoft.SqlServer.Types.SqlHierarchyId)

Evaluates whether two SqlHierarchyId nodes are unequal.

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: System.Data.SqlTypes.SqlBoolean

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

Returns null if either hid1 or hid2 are null.

This member is static.

Return to top
Show:
© 2015 Microsoft