ISqlSpatialGridIndexable.BufferForDistanceQuery Method
This API supports the SQL Server 2012 infrastructure and is not intended to be used directly from your code.
Constructs a buffer for the given distance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Function BufferForDistanceQuery ( _
distance As Double, _
<OutAttribute> ByRef disableInternalFiltering As Boolean _
) As ISqlSpatialGridIndexable
'Usage
Dim instance As ISqlSpatialGridIndexable
Dim distance As Double
Dim disableInternalFiltering As Boolean
Dim returnValue As ISqlSpatialGridIndexable
returnValue = instance.BufferForDistanceQuery(distance, _
disableInternalFiltering)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable BufferForDistanceQuery(
double distance,
out bool disableInternalFiltering
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable^ BufferForDistanceQuery(
double distance,
[OutAttribute] bool% disableInternalFiltering
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
abstract BufferForDistanceQuery :
distance:float *
disableInternalFiltering:bool byref -> ISqlSpatialGridIndexable
function BufferForDistanceQuery(
distance : double,
disableInternalFiltering : boolean
) : ISqlSpatialGridIndexable
Parameters
- distance
Type: System.Double
The distance used to calculate the buffer.
- disableInternalFiltering
Type: System.Boolean%
When this method returns, contains a value that indicates whether internal filtering is disabled.
Return Value
Type: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The ISqlSpatialGridIndexable object that represents the buffer for the given distance.