ISqlSpatialGridIndexable.BufferForDistanceQuery 方法
此 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.