Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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)

<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.

Return to top
© 2015 Microsoft