SqlGeography.STNumPoints 메서드

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

네임스페이스:  Microsoft.SqlServer.Types
어셈블리:  Microsoft.SqlServer.Types(Microsoft.SqlServer.Types.dll)

구문

‘선언
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := True)> _
Public Function STNumPoints As SqlInt32
‘사용 방법
Dim instance As SqlGeography 
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

반환 값

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

참고 항목

참조

SqlGeography 클래스

Microsoft.SqlServer.Types 네임스페이스