SqlGeography.STGeomFromText(SqlChars, Int32) Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Retorna uma SqlGeography instância de uma representação WKT (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 STGeomFromText(System.Data.SqlTypes.SqlChars geometryTaggedText, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member STGeomFromText : System.Data.SqlTypes.SqlChars * int -> Microsoft.SqlServer.Types.SqlGeography
Public Shared Function STGeomFromText (geometryTaggedText As SqlChars, srid As Integer) As SqlGeography
Parâmetros
- geometryTaggedText
- SqlChars
A representação WKT da SqlGeography instância que você deseja retornar.
- srid
- Int32
Uma expressão int que representa a SRID (ID de referência espacial) da SqlGeography instância que você deseja retornar.
Retornos
Uma SqlGeography instância construída a partir da representação WKY.
- Atributos