SqlGeography.Lat Property

 

Applies To: SQL Server 2016 Preview

Returns the latitude property of the geography instance.

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

Syntax

public SqlDouble Lat {
    [SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
    get;
}
public:
property SqlDouble Lat {
    [SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
    SqlDouble get();
}
member Lat : SqlDouble with get
Public ReadOnly Property Lat As SqlDouble

Property Value

Type: System.Data.SqlTypes.SqlDouble

A SqlDouble value that specifies the latitude.

Remarks

In the OpenGIS model, Lat 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.

See Also

SqlGeography Class
Microsoft.SqlServer.Types Namespace

Return to top