Compartir a través de


SqlGeography.Serialize Método

Used for sending spatial data across the network.

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
Public Function Serialize As SqlBytes
'Uso
Dim instance As SqlGeography 
Dim returnValue As SqlBytes 

returnValue = instance.Serialize()
public SqlBytes Serialize()
public:
SqlBytes^ Serialize()
member Serialize : unit -> SqlBytes
public function Serialize() : SqlBytes

Valor devuelto

Tipo: System.Data.SqlTypes.SqlBytes
A SqlBytes stream representing the spatial data being sent across the network.

Comentarios

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

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types