Lingua

SqlGeometry.Point(Double, Double, Int32) Metodo

Definizione

Costruisce un'istanza SqlGeometry che rappresenta un'istanza Point dai valori X e Y e srid.

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

Parametri

x
Double

Valore double che rappresenta la coordinata X del punto generato.

y
Double

Valore double che rappresenta la coordinata Y del punto generato.

srid
Int32

Espressione int che rappresenta l'ID di riferimento spaziale (SRID) dell'istanza SqlGeometry da restituire.

Valori restituiti

SqlGeometry Istanza che rappresenta un punto in un sistema di coordinate euclidee.

Attributi

Si applica a