SqlGeometry.ISqlSpatialGridIndexable.BufferForDistanceQuery Method

Returns the buffer for distance query for the SQL Geometry.

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 disableInternalFiltering As Boolean _
) As ISqlSpatialGridIndexable Implements ISqlSpatialGridIndexable.BufferForDistanceQuery
'Usage
Dim instance As SqlGeometry
Dim distance As Double
Dim disableInternalFiltering As Boolean
Dim returnValue As ISqlSpatialGridIndexable

returnValue = CType(instance, ISqlSpatialGridIndexable).BufferForDistanceQuery(distance, _
    disableInternalFiltering)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexableISqlSpatialGridIndexable.BufferForDistanceQuery(
    double distance,
    out bool disableInternalFiltering
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
private:
virtual ISqlSpatialGridIndexable^ BufferForDistanceQuery(
    double distance, 
    [OutAttribute] bool% disableInternalFiltering
) sealed = ISqlSpatialGridIndexable::BufferForDistanceQuery
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private abstract BufferForDistanceQuery : 
        distance:float * 
        disableInternalFiltering:bool byref -> ISqlSpatialGridIndexable 
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private override BufferForDistanceQuery : 
        distance:float * 
        disableInternalFiltering: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 SqlGeometry instance around which to calculate the buffer.
  • disableInternalFiltering
    Type: System.Boolean%
    True if the SQL Geometry 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

SqlGeometry Class

Microsoft.SqlServer.Types Namespace