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

SqlGeography.Deserialize Method

Returns a constructed SqlGeometry from an internal SQL Server format for spatial data. Can be used for sending spatial data over the network or reading them from files.

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

public static SqlGeography Deserialize(
	SqlBytes bytes
)

Parameters

bytes
Type: SqlBytes
The data representing the spatial data being sent across the network.

Return Value

Type: Microsoft.SqlServer.Types.SqlGeography
The data being sent over the network.

Community Additions

Show:
© 2015 Microsoft