Поделиться через


Метод SqlGeography.ISqlSpatialGridIndexable.BufferForDistanceQuery

Returns the buffer for distance query for the SQL Geography.

Пространство имен:  Microsoft.SqlServer.Types
Сборка:  Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)

Синтаксис

'Декларация
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Private Function BufferForDistanceQuery ( _
    distance As Double, _
    <OutAttribute> ByRef disableIntermediateFiltering As Boolean _
) As ISqlSpatialGridIndexable Implements ISqlSpatialGridIndexable.BufferForDistanceQuery
'Применение
Dim instance As SqlGeography 
Dim distance As Double 
Dim disableIntermediateFiltering As Boolean 
Dim returnValue As ISqlSpatialGridIndexable 

returnValue = CType(instance, ISqlSpatialGridIndexable).BufferForDistanceQuery(distance, _
    disableIntermediateFiltering)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable ISqlSpatialGridIndexable.BufferForDistanceQuery(
    double distance,
    out bool disableIntermediateFiltering
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
private:
virtual ISqlSpatialGridIndexable^ BufferForDistanceQuery(
    double distance, 
    [OutAttribute] bool% disableIntermediateFiltering
) sealed = ISqlSpatialGridIndexable::BufferForDistanceQuery
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private abstract BufferForDistanceQuery : 
        distance:float * 
        disableIntermediateFiltering:bool byref -> ISqlSpatialGridIndexable 
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private override BufferForDistanceQuery : 
        distance:float * 
        disableIntermediateFiltering:bool byref -> ISqlSpatialGridIndexable
JScript поддерживает использование явных реализаций интерфейса, но не объявление новых.

Параметры

  • distance
    Тип: System.Double
    Is a double that specifies the distance from the SqlGeography instance around which to calculate the buffer.
  • disableIntermediateFiltering
    Тип: System.Boolean%
    True if the SQL Geography disables intermediate filtering; otherwise, false.

Возвращаемое значение

Тип: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The buffer for distance query.

Реализует

ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean%)

См. также

Справочник

SqlGeography Класс

Пространство имен Microsoft.SqlServer.Types