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

매개 변수

  • 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.

참고 항목

참조

SpatialGridCoverage 클래스

Microsoft.SqlServer.Types 네임스페이스