SqlGeometry.STPointFromText(SqlChars, Int32) Metodo

Definizione

Restituisce un'istanza SqlGeometry di una rappresentazione OGC (Open Geospatial Consortium) Well-Known Text (WKT) aumentata con qualsiasi valore Z (elevazione) e M (misura) trasportato dall'istanza.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeometry STPointFromText(System.Data.SqlTypes.SqlChars pointTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STPointFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function STPointFromText (pointTaggedText As SqlChars, srid As Integer) As SqlGeometry

Parametri

pointTaggedText
SqlChars

Rappresentazione WKT dell'istanza SqlGeometry Point da restituire.

srid
Int32

Espressione int che rappresenta l'ID SRID (Spatial Reference ID) dell'istanza SqlGeometry Point da restituire.

Valori restituiti

SqlGeometry Istanza costruita dalla rappresentazione WKT specificata.

Attributi

Si applica a