Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the bytes that represent an internal SQL Server format of SqlGeometry type.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
Public Function Serialize As SqlBytes
'Usage
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
Return Value
Type: System.Data.SqlTypes.SqlBytes
Returns the bytes that represent an internal SQL Server format of SqlGeometry type.
Remarks
This is useful for sending spatial data across the network.