Freigeben über


SqlGeography.Long-Eigenschaft

Returns the longitude property of the geography instance.

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

Syntax

'Declaration
Public ReadOnly Property Long As SqlDouble 
    Get
'Usage
Dim instance As SqlGeography 
Dim value As SqlDouble 

value = instance.Long
public SqlDouble Long { get; }
public:
property SqlDouble Long {
    SqlDouble get ();
}
member Long : SqlDouble
function get Long () : SqlDouble

Eigenschaftswert

Typ: System.Data.SqlTypes.SqlDouble
A SqlDouble value that specifies the longitude.

Hinweise

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.

Siehe auch

Verweis

SqlGeography Klasse

Microsoft.SqlServer.Types-Namespace