Returns the bytes that represent an internal SQL Server format of SqlGeometry type.
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)
语法
声明
Public Function Serialize As SqlBytes
用法
Dim instance As SqlGeometry
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
Returns the bytes that represent an internal SQL Server format of SqlGeometry type.
注释
This is useful for sending spatial data across the network.