hierarchyid.Read
Read is a CLR-only method (not callable from T-SQL per Learn return type void)
What changes
- Input
- binary stream (CLR only)
- Output or change
- hierarchyid
- Return type
- CLR return type:void
Syntax at a glance
void Read(BinaryReader r)
Work example
Use the CLR serialization method when a .NET component reads hierarchyid binary data.
Keep this method inside the documented CLR integration path and prefer T-SQL hierarchy methods for query work.
Check your work Read is a serialization method and is not a regular scalar T-SQL method call.
Open Microsoft Learn for full syntax, permissions, and details for your version.