Share via


SpatialGridCoverage.Geodetic(SqlGeography, Int32, Int32) Method

Definition

Returns the grid cell for the given SqlGeography instance.

[Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")]
public static System.Collections.IEnumerable Geodetic (Microsoft.SqlServer.Types.SqlGeography geography, int rows, int columns);
[<Microsoft.SqlServer.Server.SqlFunction(FillRowMethodName="FillRow")>]
static member Geodetic : Microsoft.SqlServer.Types.SqlGeography * int * int -> System.Collections.IEnumerable
Public Shared Function Geodetic (geography As SqlGeography, rows As Integer, columns As Integer) As IEnumerable

Parameters

geography
SqlGeography

The SqlGeography instance.

rows
Int32

The number of rows in the grid.

columns
Int32

The number of columns in the grid.

Returns

The IEnumerable object that represents the grid cell of the SqlGeography instance.

Attributes

Applies to