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.