Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Returns the sum of the number of points in each of the figures in a SqlGeometry instance.
Espacio de nombres: Microsoft.SqlServer.Types
Ensamblado: Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Sintaxis
'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumPoints As SqlInt32
'Uso
Dim instance As SqlGeometry
Dim returnValue As SqlInt32
returnValue = instance.STNumPoints()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public SqlInt32 STNumPoints()
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)]
public:
SqlInt32 STNumPoints()
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)>]
member STNumPoints : unit -> SqlInt32
public function STNumPoints() : SqlInt32
Valor devuelto
Tipo: 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.
Comentarios
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.