この 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, _
rows As Integer, _
columns As Integer _
) As IEnumerable
'使用
Dim geography As SqlGeography
Dim rows As Integer
Dim columns As Integer
Dim returnValue As IEnumerable
returnValue = SpatialGridCoverage.Geodetic(geography, _
rows, columns)
[SqlFunctionAttribute(FillRowMethodName = "FillRow")]
public static IEnumerable Geodetic(
SqlGeography geography,
int rows,
int columns
)
[SqlFunctionAttribute(FillRowMethodName = L"FillRow")]
public:
static IEnumerable^ Geodetic(
SqlGeography^ geography,
int rows,
int columns
)
[<SqlFunctionAttribute(FillRowMethodName = "FillRow")>]
static member Geodetic :
geography:SqlGeography *
rows:int *
columns:int -> IEnumerable
public static function Geodetic(
geography : SqlGeography,
rows : int,
columns : int
) : IEnumerable
パラメーター
- geography
型: Microsoft.SqlServer.Types.SqlGeography
SqlGeography のインスタンスです。
- rows
型: System.Int32
グリッド内の行数です。
- columns
型: System.Int32
グリッド内の列数です。
戻り値
型: System.Collections.IEnumerable
SqlGeography インスタンスのグリッド セルを表す IEnumerable オブジェクトです。