SqlGeography.Deserialize(SqlBytes) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
public static Microsoft.SqlServer.Types.SqlGeography Deserialize (System.Data.SqlTypes.SqlBytes bytes);
static member Deserialize : System.Data.SqlTypes.SqlBytes -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function Deserialize (bytes As SqlBytes) As SqlGeography
Parameters
- bytes
- SqlBytes
The data representing the spatial data being sent across the network.
Returns
The data being sent over the network.