SqlGeography.STAsText 메서드

SQL Server 2012

Returns the Open Geospatial Consortium (OGC) Well-Known Text (WKT) representation of a SqlGeography instance.

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlChars STAsText()

반환 값

유형: System.Data.SqlTypes.SqlChars
A SqlChars value that contains the WKT representation of the SqlGeography instance.

This text will not contain any Z (elevation) or M (measure) values carried by the instance.

커뮤니티 추가 항목