Export (0) Print
Expand All
Expand Minimize

SqlGeometry.Serialize Method

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)

'Declaration
Public Function Serialize As SqlBytes
'Usage
Dim instance As SqlGeometry 
Dim returnValue As SqlBytes 

returnValue = instance.Serialize()

Return Value

Type: SqlBytes
Returns the bytes that represent an internal SQL Server format of SqlGeometry type.

This is useful for sending spatial data across the network.

Community Additions

ADD
Show:
© 2014 Microsoft