SqlGeometry.STLength 메서드

SQL Server 2012

Returns the total length of the elements in a SqlGeometry instance.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlDouble STLength()

반환 값

유형: System.Data.SqlTypes.SqlDouble
A SqlDouble value that contains the total length of the elements in the calling SqlGeometry.

If a SqlGeometry instance is closed, its length is calculated as the total length around the instance; the length of any polygon is its perimeter and the length of a point is 0. The length of any SqlGeometry collection type is the sum of the lengths of its contained SqlGeometry instances.

커뮤니티 추가 항목

추가
표시: