Método GeographyTessellationFunction.InitMethod
Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.
Returns an enumerable initialize method for the GeographyTessellationFunction.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (em Microsoft.SqlServer.Types.dll)
Sintaxe
'Declaração
<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
'Uso
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
Parâmetros
- geographyObject
Tipo: Microsoft.SqlServer.Types.SqlGeography
The geography object.
- densityGrid0
Tipo: System.Int32
The density grid.
- densityGrid1
Tipo: System.Int32
The density grid.
- densityGrid2
Tipo: System.Int32
The density grid.
- densityGrid3
Tipo: System.Int32
The density grid.
- cardinality
Tipo: System.Int32
The cardinality
- tessellationMode
Tipo: System.Int32
The tessellation mode.
- distanceBuffer
Tipo: System.Data.SqlTypes.SqlDouble
The distance buffer.
Valor de retorno
Tipo: System.Collections.IEnumerable
The initialize method.