この API は、SQL Server 2012 インフラストラクチャをサポートします。独自に作成したコードから直接使用するためのものではありません。
指定した SqlGeography インスタンスのグリッド セルを返します。
名前空間: 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
geography オブジェクトです。
- cardinality
型: System.Int32
テセレーション出力内の最大セル数を表す数字です。
- maxDepth
型: System.Int32
最大の深さです。
- options
型: System.Int32
間隔モード、カバレッジ生成、およびあいまいな使用のビットごとのオプションを含む値です。
- distanceBuffer
型: System.Data.SqlTypes.SqlDouble
距離のバッファーです。
戻り値
型: System.Collections.IEnumerable
指定された SqlGeography インスタンスのグリッド セルを表す IEnumerable オブジェクトです。