共用方式為


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 命名空間