SqlGeography.STGeomCollFromText(SqlChars, Int32) Metodo

Definizione

Restituisce un'istanza geography da 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.SqlGeography STGeomCollFromText(System.Data.SqlTypes.SqlChars geometryCollectionTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STGeomCollFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STGeomCollFromText (geometryCollectionTaggedText As SqlChars, srid As Integer) As SqlGeography

Parametri

geometryCollectionTaggedText
SqlChars

Rappresentazione WKT dell'istanza geography da restituire. geometrycollection_tagged_text è un'espressione nvarchar(max).

srid
Int32

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

Valori restituiti

Istanza geography.

Attributi

Si applica a