Export (0) Print
Expand All
Expand Minimize

SqlGeography.AsGml Method

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
Dim instance As SqlGeography 
Dim returnValue As SqlXml 

returnValue = instance.AsGml()

Return Value

Type: SqlXml
A SqlXml object containing the GML representation of the SqlGeography instance.

Community Additions

© 2014 Microsoft