Returns a specified point in a SqlGeometry instance.
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = true)] public SqlGeometry STPointN( int n )
If a SqlGeometry instance is user created, returns the point specified by expression by ordering the points in the order in which they were originally input.
If a SqlGeometry instance was constructed by the system, returns the point specified by expression by ordering all the points in the same order they would be output: first by geometry, then by ring within the geometry (if appropriate), and then by point within the ring. This order is deterministic.
If this method is called with a value less than 1, it throws an ArgumentOutOfRangeException.
If this method is called with a value greater than the number of points in the instance, it returns null.