SqlGeography.ISqlSpatialGridIndexable.BufferForDistanceQuery Method (Double, Boolean)

 

Returns the buffer for distance query for the SQL Geography.

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

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable ISqlSpatialGridIndexable.BufferForDistanceQuery(
	double distance,
	out bool disableIntermediateFiltering
)

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.

Return to top
Show: