SpatialGridCoverage.Geodetic Method (SqlGeography, Int32, Int32)
Applies To: SQL Server 2016 Preview
This API supports the product infrastructure and is not intended to be used directly from your code.
Returns the grid cell for the given SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Geodetic(
SqlGeography geography,
int rows,
int columns
)
public:
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
static IEnumerable^ Geodetic(
SqlGeography^ geography,
int rows,
int columns
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Geodetic :
geography:SqlGeography *
rows:int *
columns:int -> IEnumerable
<SqlFunctionAttribute(FillRowMethodName := "FillRow")>
Public Shared Function Geodetic (
geography As SqlGeography,
rows As Integer,
columns As Integer
) As IEnumerable
Parameters
geography
Type: Microsoft.SqlServer.Types.SqlGeographyThe SqlGeography instance.
rows
Type: System.Int32The number of rows in the grid.
columns
Type: System.Int32The number of columns in the grid.
Return Value
Type: System.Collections.IEnumerable
The IEnumerable object that represents the grid cell of the SqlGeography instance.
See Also
SpatialGridCoverage Class
Microsoft.SqlServer.Types Namespace
Return to top