Freigeben über


SqlGeography.Deserialize-Methode

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

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

returnValue = SqlGeography.Deserialize(bytes)
public static SqlGeography Deserialize(
    SqlBytes bytes
)
public:
static SqlGeography^ Deserialize(
    SqlBytes^ bytes
)
static member Deserialize : 
        bytes:SqlBytes -> SqlGeography
public static function Deserialize(
    bytes : SqlBytes
) : SqlGeography

Parameter

Rückgabewert

Typ: Microsoft.SqlServer.Types.SqlGeography
The data being sent over the network.

Siehe auch

Verweis

SqlGeography Klasse

Microsoft.SqlServer.Types-Namespace