次の方法で共有


SqlGeography.AsGml メソッド

SqlGeography インスタンスの Geography Markup Language (GML) 表現を返します。

名前空間:  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
SqlGeography インスタンスの GML 表現を含む SqlXml オブジェクトです。

関連項目

参照

SqlGeography クラス

Microsoft.SqlServer.Types 名前空間