SqlGeometry.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.
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.