SqlGeography.AsGml Method ()
Applies To: SQL Server 2016 Preview
Returns the Geography Markup Language (GML) representation of a SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlXml AsGml()
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlXml^ AsGml()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member AsGml : unit -> SqlXml
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function AsGml As SqlXml
Return Value
Type: System.Data.SqlTypes.SqlXml
A SqlXml object containing the GML representation of the SqlGeography instance.
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
Return to top