SqlHierarchyId Methods

SqlHierarchyId Methods

 

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

NameDescription
System_CAPS_pubmethodCompareTo(Object)

Returns a value indicating the results of a comparison between a SqlHierarchyId and an object.

System_CAPS_pubmethodCompareTo(SqlHierarchyId)

Returns a value indicating the results of a comparison between two SqlHierarchyId nodes.

System_CAPS_pubmethodEquals(Object)

Evaluates whether SqlHierarchyId and obj are equal.(Overrides ValueType.Equals(Object).)

System_CAPS_pubmethodGetAncestor(Int32)

Retrieves the SqlHierarchyId node n levels up the hierarchical tree.

System_CAPS_pubmethodGetDescendant(SqlHierarchyId, SqlHierarchyId)

Gets the value of a descendant SqlHierarchyId node that is greater than child1 and less than child2.

System_CAPS_pubmethodGetHashCode()

Gets a hash of the path from the root node of the hierarchy tree to the SqlHierarchyId node.(Overrides ValueType.GetHashCode().)

System_CAPS_pubmethodGetLevel()

Gets a value indicating the level of the SqlHierarchyId node in the hierarchical tree.

System_CAPS_pubmethodGetReparentedValue(SqlHierarchyId, SqlHierarchyId)

Gets a value representing the location of a new SqlHierarchyId node that has a path from newRoot equal to the path from oldRoot to this, effectively moving this to the new location.

System_CAPS_pubmethodSystem_CAPS_staticGetRoot()

Gets a value representing the root SqlHierarchyId node of the hierarchy.

System_CAPS_pubmethodGetType()

(Inherited from Object.)

System_CAPS_pubmethodIsDescendantOf(SqlHierarchyId)

Gets a value indicating whether the SqlHierarchyId node is the descendant of the parent.

System_CAPS_pubmethodSystem_CAPS_staticParse(SqlString)

Converts the canonical string representation of a SqlHierarchyId node to a SqlHierarchyId value.

System_CAPS_pubmethodRead(BinaryReader)

Reads from a specified binary reader into a SqlHierarchyId.

System_CAPS_pubmethodToString()

Returns the canonical string representation of a SqlHierarchyId node from a SqlHierarchyId value.(Overrides ValueType.ToString().)

System_CAPS_pubmethodWrite(BinaryWriter)

Writes a SqlHierarchyId to a specified binary writer.

Return to top
Show:
© 2016 Microsoft