SqlGeometry.GeomFromGml(SqlXml, Int32) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Construit une instance en fonction d’une SqlGeometry représentation dans le sous-ensemble SQL Server du langage 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
Paramètres
- xml
- SqlXml
Entrée XML à partir de laquelle le GML retourne une valeur.
- srid
- Int32
Int qui représente l’ID de référence spatiale (SRID) de l’instance geometry que vous souhaitez retourner.
Retours
Instance SqlGeometry construite à partir du GML spécifié.
- Attributs