SqlGeometry.GeomFromGml(SqlXml, 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.
Constrói uma SqlGeometry instância determinada uma representação no subconjunto SQL Server da GML (Geography Markup Language).
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeometry GeomFromGml(System.Data.SqlTypes.SqlXml xml, int srid);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
static member GeomFromGml : System.Data.SqlTypes.SqlXml * int -> Microsoft.SqlServer.Types.SqlGeometry
Public Shared Function GeomFromGml (xml As SqlXml, srid As Integer) As SqlGeometry
Parâmetros
- xml
- SqlXml
Uma entrada XML da qual o GML retornará um valor.
- srid
- Int32
Um int que representa a SRID (ID de referência espacial) da instância de geometria que você deseja retornar.
Retornos
Uma SqlGeometry instância construída a partir do GML especificado.
- Atributos