Поделиться через


Метод SqlGeography.AsGml

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

Пространство имен:  Microsoft.SqlServer.Types
Сборка:  Microsoft.SqlServer.Types (в 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()
[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

Возвращаемое значение

Тип: System.Data.SqlTypes.SqlXml
A SqlXml object containing the GML representation of the SqlGeography instance.

См. также

Справочник

SqlGeography Класс

Пространство имен Microsoft.SqlServer.Types