SqlGeometry.STNumPoints Method ()
Returns the sum of the number of points in each of the figures in a SqlGeometry instance.
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
This method counts the points in the description of a SqlGeometry instance. Duplicate points are counted. If this instance is a collection type, this method returns the sum of the points in each of its elements.