SqlGeography.ISqlSpatialGridIndexable.BufferForDistanceQuery 方法 (Double, Boolean)

 

返回 SQL 地理的距离查询的缓冲区。

命名空间:   Microsoft.SqlServer.Types
程序集:  Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)

语法

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable ISqlSpatialGridIndexable.BufferForDistanceQuery(
    double distance,
    out bool disableIntermediateFiltering
)
private:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
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
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Private Function BufferForDistanceQuery (
    distance As Double,
    <OutAttribute> ByRef disableIntermediateFiltering As Boolean
) As ISqlSpatialGridIndexable
    Implements ISqlSpatialGridIndexable.BufferForDistanceQuery

参数

  • distance
    Type: System.Double

    一个 double 值,该值指定与 SqlGeography 实例的距离,缓冲区就是环绕该实例而计算出的。

  • disableIntermediateFiltering
    Type: System.Boolean

    如果 SQL 地理禁用中间筛选,则为 True;否则为 false

返回值

Type: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable

距离查询的缓冲区。

实现

ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean)

另请参阅

SqlGeography 类
Microsoft.SqlServer.Types 命名空间

返回页首