SqlGeography.ISqlSpatialGridIndexable.BufferForDistanceQuery Method

Returns the buffer for distance query for the SQL Geography.

Namespace:  Microsoft.SqlServer.Types
Assembly:  Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Private Function BufferForDistanceQuery ( _
    distance As Double, _
    <OutAttribute> ByRef disableIntermediateFiltering As Boolean _
) As ISqlSpatialGridIndexable Implements ISqlSpatialGridIndexable.BufferForDistanceQuery
'Usage
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)]
ISqlSpatialGridIndexableISqlSpatialGridIndexable.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 supports the use of explicit interface implementations, but not the declarations of new ones.

Parameters

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

Return Value

Type: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The buffer for distance query.

Implements

ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean%)

See Also

Reference

SqlGeography Class

Microsoft.SqlServer.Types Namespace