GeographyTessellationFunction.InitMethod Method (SqlGeography, Int32, Int32, Int32, Int32, Int32, Int32, SqlDouble)
Applies To: SQL Server 2016 Preview
This API supports the product infrastructure and is not intended to be used directly from your code.
Returns an enumerable initialize method for the GeographyTessellationFunction.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable InitMethod(
SqlGeography geographyObject,
int densityGrid0,
int densityGrid1,
int densityGrid2,
int densityGrid3,
int cardinality,
int tessellationMode,
SqlDouble distanceBuffer
)
public:
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
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
<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
Parameters
geographyObject
Type: Microsoft.SqlServer.Types.SqlGeographyThe geography object.
densityGrid0
Type: System.Int32The density grid.
densityGrid1
Type: System.Int32The density grid.
densityGrid2
Type: System.Int32The density grid.
densityGrid3
Type: System.Int32The density grid.
cardinality
Type: System.Int32The cardinality
tessellationMode
Type: System.Int32The tessellation mode.
distanceBuffer
Type: System.Data.SqlTypes.SqlDoubleThe distance buffer.
Return Value
Type: System.Collections.IEnumerable
The initialize method.
See Also
GeographyTessellationFunction Class
Microsoft.SqlServer.Types Namespace
Return to top