此 API 支持 SQL Server 2012 基础结构,但不能通过代码直接使用。
Constructs a buffer for the given distance.
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(在 Microsoft.SqlServer.Types.dll 中)
语法
声明
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Function BufferForDistanceQuery ( _
distance As Double, _
<OutAttribute> ByRef disableInternalFiltering As Boolean _
) As ISqlSpatialGridIndexable
用法
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
参数
- distance
类型:System.Double
The distance used to calculate the buffer.
- disableInternalFiltering
类型:System.Boolean%
When this method returns, contains a value that indicates whether internal filtering is disabled.
返回值
类型:Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The ISqlSpatialGridIndexable object that represents the buffer for the given distance.