次の方法で共有


SqlGeography.STAsText メソッド

SqlGeography インスタンスについて Open Geospatial Consortium (OGC) の Well-Known Text (WKT) 表現を返します。

名前空間:  Microsoft.SqlServer.Types
アセンブリ:  Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)

構文

'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STAsText As SqlChars
'使用
Dim instance As SqlGeography 
Dim returnValue As SqlChars 

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

戻り値

型: System.Data.SqlTypes.SqlChars
SqlGeography インスタンスの WKT 表現を含む SqlChars 値です。

説明

このテキストは、インスタンスに格納されている Z (標高) 値または M (メジャー) 値を含みません。

関連項目

参照

SqlGeography クラス

Microsoft.SqlServer.Types 名前空間