Метод SpatialTessellationFunction.Geodetic
Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.
Returns the grid cell for the given SqlGeography instance.
Пространство имен: Microsoft.SqlServer.Types
Сборка: Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)
Синтаксис
'Декларация
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
Public Shared Function Geodetic ( _
geography As SqlGeography, _
cardinality As Integer, _
maxDepth As Integer, _
options As Integer, _
distanceBuffer As SqlDouble _
) As IEnumerable
'Применение
Dim geography As SqlGeography
Dim cardinality As Integer
Dim maxDepth As Integer
Dim options As Integer
Dim distanceBuffer As SqlDouble
Dim returnValue As IEnumerable
returnValue = SpatialTessellationFunction.Geodetic(geography, _
cardinality, maxDepth, options, distanceBuffer)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Geodetic(
SqlGeography geography,
int cardinality,
int maxDepth,
int options,
SqlDouble distanceBuffer
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ Geodetic(
SqlGeography^ geography,
int cardinality,
int maxDepth,
int options,
SqlDouble distanceBuffer
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Geodetic :
geography:SqlGeography *
cardinality:int *
maxDepth:int *
options:int *
distanceBuffer:SqlDouble -> IEnumerable
public static function Geodetic(
geography : SqlGeography,
cardinality : int,
maxDepth : int,
options : int,
distanceBuffer : SqlDouble
) : IEnumerable
Параметры
- geography
Тип: Microsoft.SqlServer.Types.SqlGeography
The geography object.
- cardinality
Тип: System.Int32
The number that represents the maximum cells in tessellation output.
- maxDepth
Тип: System.Int32
The maximum depth.
- options
Тип: System.Int32
The value that contains bitwise options for interval mode, coverage generation, and fuzz usage.
- distanceBuffer
Тип: System.Data.SqlTypes.SqlDouble
The distance buffer.
Возвращаемое значение
Тип: System.Collections.IEnumerable
The IEnumerable object that represents the grid cell for the given SqlGeography instance.