Método SpatialTessellationFunction.Geodetic
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Returns the grid cell for the given SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)
Sintaxe
'Declaração
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
Public Shared Function Geodetic ( _
geography As SqlGeography, _
cardinality As Integer, _
maxDepth As Integer, _
options As Integer, _
distanceBuffer As SqlDouble _
) As IEnumerable
'Uso
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
Parâmetros
- geography
Tipo: Microsoft.SqlServer.Types.SqlGeography
The geography object.
- cardinality
Tipo: System.Int32
The number that represents the maximum cells in tessellation output.
- maxDepth
Tipo: System.Int32
The maximum depth.
- options
Tipo: System.Int32
The value that contains bitwise options for interval mode, coverage generation, and fuzz usage.
- distanceBuffer
Tipo: System.Data.SqlTypes.SqlDouble
The distance buffer.
Valor de retorno
Tipo: System.Collections.IEnumerable
The IEnumerable object that represents the grid cell for the given SqlGeography instance.