Export (0) Print
Expand All
Expand Minimize

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)

'Declaration
Public Shared Function Deserialize ( _
	bytes As SqlBytes _
) As SqlGeography
'Usage
Dim bytes As SqlBytes 
Dim returnValue As SqlGeography 

returnValue = SqlGeography.Deserialize(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.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft