Partager via


Méthode SpatialGridCoverage.Geodetic

Cette API prend en charge l'infrastructure SQL Server 2012 et n'est pas destinée à être utilisée directement à partir de votre code.

Returns the grid cell for the given SqlGeography instance.

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
Public Shared Function Geodetic ( _
    geography As SqlGeography, _
    rows As Integer, _
    columns As Integer _
) As IEnumerable
'Utilisation
Dim geography As SqlGeography 
Dim rows As Integer 
Dim columns As Integer 
Dim returnValue As IEnumerable 

returnValue = SpatialGridCoverage.Geodetic(geography, _
    rows, columns)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Geodetic(
    SqlGeography geography,
    int rows,
    int columns
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ Geodetic(
    SqlGeography^ geography, 
    int rows, 
    int columns
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Geodetic : 
        geography:SqlGeography * 
        rows:int * 
        columns:int -> IEnumerable
public static function Geodetic(
    geography : SqlGeography, 
    rows : int, 
    columns : int
) : IEnumerable

Paramètres

  • columns
    Type : System.Int32
    The number of columns in the grid.

Valeur de retour

Type : System.Collections.IEnumerable
The IEnumerable object that represents the grid cell of the SqlGeography instance.

Voir aussi

Référence

SpatialGridCoverage Classe

Espace de noms Microsoft.SqlServer.Types