SqlGeometry.ISqlSpatialGridIndexable.BufferForDistanceQuery Method (Double, Boolean)

 

Returns the buffer for distance query for the SQL Geometry.

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

<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Private Function BufferForDistanceQuery (
	distance As Double,
	<OutAttribute> ByRef disableInternalFiltering As Boolean
) As ISqlSpatialGridIndexable
	Implements ISqlSpatialGridIndexable.BufferForDistanceQuery

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.

Return to top
Show: