Compartir a través de


SqlGeography.AsGml Método

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

Espacio de nombres:  Microsoft.SqlServer.Types
Ensamblado:  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Sintaxis

'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function AsGml As SqlXml
'Uso
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

Valor devuelto

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

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types