SqlGeography.Deserialize(SqlBytes) Method

Definition

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.

Applies to