Lingua

SqlGeography.Point(Double, Double, Int32) Metodo

Definizione

Costruisce un'istanza SqlGeography di che rappresenta un'istanza Point dai valori x e y e da un ID di riferimento spaziale (SRID).

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeography Point(double latitude, double longitude, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member Point : double * double * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function Point (latitude As Double, longitude As Double, srid As Integer) As SqlGeography

Parametri

latitude
Double

Valore double che rappresenta la coordinata x del punto generato.

longitude
Double

Valore double che rappresenta la coordinata y del punto generato.

srid
Int32

Espressione int che rappresenta lo SRID dell'istanza geography da restituire.

Valori restituiti

SqlGeography Istanza costruita dai valori di latitudine, longitudine e SRID specificati.

Attributi

Si applica a