SqlGeography.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 SqlGeography 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.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
Paramètres
- xml
- SqlXml
Entrée XML à partir de laquelle la valeur GML retourne une valeur.
- srid
- Int32
Expression int qui représente l’ID de référence spatiale (SRID) de l’instance géographique que vous souhaitez retourner.
Retours
Valeur SqlGeography construite à partir du GML spécifié.
- Attributs