SqlGeometry.STIsClosed 메서드

SQL Server 2012

Determines whether the start and end points of the calling SqlGeometry are the same.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STIsClosed()

반환 값

유형: System.Data.SqlTypes.SqlBoolean
Returns true if the start and end points of the given SqlGeometry instance are the same. Returns false if the instance is not closed, if any figures of the instance are points, or if the instance is empty.Returns true for geometry collection types if each contained SqlGeometry instance is closed. Otherwise, false.

All Polygon instances are considered closed.

커뮤니티 추가 항목

추가
표시: