Поделиться через


Метод GeographyTessellationFunction.InitMethod

Этот API-интерфейс поддерживает инфраструктуру SQL Server 2012 и не предназначен для использования непосредственно из кода.

Returns an enumerable initialize method for the GeographyTessellationFunction.

Пространство имен:  Microsoft.SqlServer.Types
Сборка:  Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)

Синтаксис

'Декларация
<SqlFunctionAttribute(FillRowMethodName := "FillRow")> _
Public Shared Function InitMethod ( _
    geographyObject As SqlGeography, _
    densityGrid0 As Integer, _
    densityGrid1 As Integer, _
    densityGrid2 As Integer, _
    densityGrid3 As Integer, _
    cardinality As Integer, _
    tessellationMode As Integer, _
    distanceBuffer As SqlDouble _
) As IEnumerable
'Применение
Dim geographyObject As SqlGeography 
Dim densityGrid0 As Integer 
Dim densityGrid1 As Integer 
Dim densityGrid2 As Integer 
Dim densityGrid3 As Integer 
Dim cardinality As Integer 
Dim tessellationMode As Integer 
Dim distanceBuffer As SqlDouble 
Dim returnValue As IEnumerable 

returnValue = GeographyTessellationFunction.InitMethod(geographyObject, _
    densityGrid0, densityGrid1, densityGrid2, _
    densityGrid3, cardinality, tessellationMode, _
    distanceBuffer)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable InitMethod(
    SqlGeography geographyObject,
    int densityGrid0,
    int densityGrid1,
    int densityGrid2,
    int densityGrid3,
    int cardinality,
    int tessellationMode,
    SqlDouble distanceBuffer
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ InitMethod(
    SqlGeography^ geographyObject, 
    int densityGrid0, 
    int densityGrid1, 
    int densityGrid2, 
    int densityGrid3, 
    int cardinality, 
    int tessellationMode, 
    SqlDouble distanceBuffer
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member InitMethod : 
        geographyObject:SqlGeography * 
        densityGrid0:int * 
        densityGrid1:int * 
        densityGrid2:int * 
        densityGrid3:int * 
        cardinality:int * 
        tessellationMode:int * 
        distanceBuffer:SqlDouble -> IEnumerable
public static function InitMethod(
    geographyObject : SqlGeography, 
    densityGrid0 : int, 
    densityGrid1 : int, 
    densityGrid2 : int, 
    densityGrid3 : int, 
    cardinality : int, 
    tessellationMode : int, 
    distanceBuffer : SqlDouble
) : IEnumerable

Параметры

  • tessellationMode
    Тип: System.Int32
    The tessellation mode.

Возвращаемое значение

Тип: System.Collections.IEnumerable
The initialize method.

См. также

Справочник

GeographyTessellationFunction Класс

Пространство имен Microsoft.SqlServer.Types