SqlGeography.STMPolyFromText(SqlChars, Int32) Metodo

Definizione

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

Parametri

multiPolygonTaggedText
SqlChars

Rappresentazione WKT dell'istanza SqlGeographyMultiPolygon da restituire.

srid
Int32

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

Valori restituiti

Valore SqlGeography costruito dalla rappresentazione WKT specificata.

Attributi

Si applica a