Partager via


Méthode AsGml

Returns the Geography Markup Language (GML) representation of a SqlGeometry instance.

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsGml As SqlXml
'Utilisation
Dim instance As SqlGeometry
Dim returnValue As SqlXml

returnValue = instance.AsGml()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlXml AsGml()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlXml^ AsGml()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member AsGml : unit -> SqlXml 
public function AsGml() : SqlXml

Valeur de retour

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