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

SqlGeometry.AsGml Method

Returns the Geography Markup Language (GML) representation of a SqlGeometry 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 SqlGeometry 
Dim returnValue As SqlXml 

returnValue = instance.AsGml()

Return Value

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

Community Additions

© 2015 Microsoft