SqlGeography.STNumGeometries 메서드

SQL Server 2012

Returns the number of geometries that make up a SqlGeography instance.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumGeometries()

반환 값

유형: System.Data.SqlTypes.SqlInt32
A SqlInt32 value that specifies the number of geometries that make up the SqlGeography instance.

This method returns 1 if the geography instance is not a MultiPoint, MultiLineString, MultiPolygon, or GeometryCollection instance, or 0 if the SqlGeography instance is empty.

커뮤니티 추가 항목

추가
표시: