SqlGeography.Serialize 方法

Used for sending spatial data across the network.

命名空间:  Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)

语法

声明
Public Function Serialize As SqlBytes
用法
Dim instance As SqlGeography 
Dim returnValue As SqlBytes 

returnValue = instance.Serialize()
public SqlBytes Serialize()
public:
SqlBytes^ Serialize()
member Serialize : unit -> SqlBytes
public function Serialize() : SqlBytes

返回值

类型:System.Data.SqlTypes.SqlBytes
A SqlBytes stream representing the spatial data being sent across the network.

注释

Used in conjunction with Deserialize() for sending spatial data across the network.

请参阅

参考

SqlGeography 类

Microsoft.SqlServer.Types 命名空间