Share via


SqlGeometry.AsGml Method

Definition

Returns the Geography Markup Language (GML) representation of a SqlGeometry instance.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public System.Data.SqlTypes.SqlXml AsGml ();
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.AsGml : unit -> System.Data.SqlTypes.SqlXml
Public Function AsGml () As SqlXml

Returns

A SqlXml value containing the GML representation of the calling SqlGeometry instance.

Attributes

Applies to