SqlGeography.Deserialize Method (SqlBytes)
Applies To: SQL Server 2016 Preview
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)
Syntax
public static SqlGeography Deserialize(
SqlBytes bytes
)
public:
static SqlGeography^ Deserialize(
SqlBytes^ bytes
)
static member Deserialize :
bytes:SqlBytes -> SqlGeography
Public Shared Function Deserialize (
bytes As SqlBytes
) As SqlGeography
Parameters
bytes
Type: System.Data.SqlTypes.SqlBytesThe data representing the spatial data being sent across the network.
Return Value
Type: Microsoft.SqlServer.Types.SqlGeography
The data being sent over the network.
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
Return to top