SqlGeography.Deserialize 方法
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.
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)
语法
声明
Public Shared Function Deserialize ( _
bytes As SqlBytes _
) As SqlGeography
用法
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
参数
- bytes
类型:System.Data.SqlTypes.SqlBytes
The data representing the spatial data being sent across the network.
返回值
类型:Microsoft.SqlServer.Types.SqlGeography
The data being sent over the network.