SqlGeometry.STMPolyFromText(SqlChars, Int32) Método

Definição

Retorna uma SqlGeometry instância de uma representação do OGC (Open Geospatial Consortium) Texto Bem Conhecido (WKT) 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.SqlGeometry 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.SqlGeometry
Public Shared Function STMPolyFromText (multiPolygonTaggedText As SqlChars, srid As Integer) As SqlGeometry

Parâmetros

multiPolygonTaggedText
SqlChars

A representação WKT da instância multiPolygon SqlGeometry que você deseja retornar.

srid
Int32

Uma expressão int que representa a SRID (ID de referência espacial) da SqlGeometry instância de MultiPolygon que você deseja retornar.

Retornos

Um SqlGeometry objeto construído a partir da representação WKT especificada.

Atributos

Aplica-se a