SqlGeography.AsGml Method

Definition

Returns the Geography Markup Language (GML) representation of a SqlGeography 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 object containing the GML representation of the SqlGeography instance.

Attributes

Applies to