SqlGeography.STLineFromText(SqlChars, Int32) Método

Definição

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

Parâmetros

lineStringTaggedText
SqlChars

A representação WKT da SqlGeography instância de LineString que você deseja retornar.

srid
Int32

Uma expressão int que representa a SRID (ID de Referência Espacial) da SqlGeography instância de LineString que você deseja retornar.

Retornos

Um SqlGeography valor construído a partir da representação WKT especificada.

Atributos

Aplica-se a