SqlGeography.STGeometryN(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns a specified geography element in a GeometryCollection or one of its subtypes.
[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)]
public Microsoft.SqlServer.Types.SqlGeography STGeometryN (int n);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=true)>]
member this.STGeometryN : int -> Microsoft.SqlServer.Types.SqlGeography
Public Function STGeometryN (n As Integer) As SqlGeography
Parameters
- n
- Int32
An int expression between 1 and the number of SqlGeography instances in the GeometryCollection.
Returns
A SqlGeography element from the specified instance in the GeometryCollection.
- Attributes