SqlGeometry.MakeValid 메서드

SQL Server 2012

Converts an invalid SqlGeometry instance into a SqlGeometry instance with a valid Open Geospatial Consortium (OGC) type.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry MakeValid()

반환 값

유형: Microsoft.SqlServer.Types.SqlGeometry
A SqlGeometry value with a valid OGC type.

This method may cause a change in the type of the SqlGeometry instance, as well as cause the points of a SqlGeometry instance to shift slightly.

커뮤니티 추가 항목