SqlGeography.STGeomCollFromText(SqlChars, Int32) Método

Definição

Retorna uma instância de geografia de uma representação do OGC (Open Geospatial Consortium) Texto Bem Conhecido (WKT), aumentada com quaisquer valores Z (elevação) e M (medida) transportados pela instância.

[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

Parâmetros

geometryCollectionTaggedText
SqlChars

É a representação WKT da instância de geografia que você deseja retornar. geometrycollection_tagged_text é uma expressão nvarchar(max).

srid
Int32

É uma expressão int que representa a SRID (ID de referência espacial) da instância de geografia que você deseja retornar.

Retornos

Uma instância de geografia.

Atributos

Aplica-se a