Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
MSDN Library

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)

public:
SqlBytes^ 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

Show:
© 2015 Microsoft