SpatialGridCoverage.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, _
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
The SqlGeography instance.
- rows
型別:System.Int32
The number of rows in the grid.
- columns
型別:System.Int32
The number of columns in the grid.
傳回值
型別:System.Collections.IEnumerable
The IEnumerable object that represents the grid cell of the SqlGeography instance.