Condividi tramite


Metodo SqlGeography.AsGml

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

Spazio dei nomi  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Sintassi

'Dichiarazione
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsGml As SqlXml
'Utilizzo
Dim instance As SqlGeography 
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

Valore restituito

Tipo: System.Data.SqlTypes.SqlXml
A SqlXml object containing the GML representation of the SqlGeography instance.

Vedere anche

Riferimento

SqlGeography Classe

Spazio dei nomi Microsoft.SqlServer.Types