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)

<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)>
Public Function STNumPoints As SqlInt32

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: