SqlGeography.ToString Method ()

 

Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeography instance augmented with any Z (elevation) and M (measure) values carried by the instance.

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

No code example is currently available or this language may not be supported.

Return Value

Type: System.String

A string containing the WKT representation of the calling SqlGeography instance.

This method returns the string "Null" when called on null instances.

Return to top
Show: