SqlGeometry.Deserialize(SqlBytes) Method

Definition

Returns a constructed SqlGeometry from an internal SQL Server format for spatial data.

public static Microsoft.SqlServer.Types.SqlGeometry Deserialize (System.Data.SqlTypes.SqlBytes bytes);
static member Deserialize : System.Data.SqlTypes.SqlBytes -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function Deserialize (bytes As SqlBytes) As SqlGeometry

Parameters

bytes
SqlBytes

A SqlBytes that specifies the spatial data being sent over the network.

Returns

A SqlGeometry instance that represents the constructed geometry object being sent over the network.

Applies to