Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

SqlGeometry.STNumPoints Method ()

 

Applies To: SQL Server 2016 Preview

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)

No code example is currently available or this language may not be supported.

Return Value

Type: System.Data.SqlTypes.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.

Return to top
Show:
© 2015 Microsoft