SqlGeography.Serialize Method ()

 

Applies To: SQL Server 2016 Preview

Used for sending spatial data across the network.

Namespace:   Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

public SqlBytes Serialize()
public:
SqlBytes^ Serialize()
member Serialize : unit -> SqlBytes
Public Function Serialize As SqlBytes

Return Value

Type: System.Data.SqlTypes.SqlBytes

A SqlBytes stream representing the spatial data being sent across the network.

Remarks

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

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace

Return to top