SqlGeography.GeomFromGml(SqlXml, Int32) Metodo

Definizione

Costruisce un'istanza in base a una SqlGeography rappresentazione nel sottoinsieme SQL Server del linguaggio GML (Geography Markup Language).

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public static Microsoft.SqlServer.Types.SqlGeography 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.SqlGeography
Public Shared Function GeomFromGml (xml As SqlXml, srid As Integer) As SqlGeography

Parametri

xml
SqlXml

Input XML da cui GML restituirà un valore.

srid
Int32

Espressione int che rappresenta l'ID di riferimento spaziale (SRID) dell'istanza geography da restituire.

Valori restituiti

Valore SqlGeography costruito dall'oggetto GML specificato.

Attributi

Si applica a