Export (0) Print
Expand All
Expand Minimize

SqlGeography.STNumPoints Method

Returns the total number of points in each of the figures in a SqlGeography instance

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

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

Return Value

Type: SqlInt32
A SqlInt32 value specifying the total number of points in each figure of the SqlGeography instance.

This method counts the points in the description of a SqlGeography instance. Duplicate points are counted. If this instance is a GeometryCollection, this method returns of the total number of points in each of the elements in the collection.

Community Additions

ADD
Show:
© 2014 Microsoft