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.