Export (0) Print
Expand All
Expand Minimize

SqlGeometry.STNumPoints Method

Returns the sum of the number of points in each of the figures in a SqlGeometry instance.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

public function STNumPoints() : SqlInt32

Return Value

Type: SqlInt32
A SqlInt32 value that contains the sum of the number of points in each of the figures in the calling instance.

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.

Community Additions

ADD
Show:
© 2014 Microsoft