Export (0) Print
Expand All

SqlGeography.Long Property

Returns the longitude property of the geography instance.

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

public SqlDouble Long { get; }

Property Value

Type: SqlDouble
A SqlDouble value that specifies the longitude.

In the OpenGIS model, Long is defined only on geography instances composed of a single point. This property will return NULL if geography instances contain more than a single point. This property is precise and read-only.

Community Additions

© 2014 Microsoft