Returns the buffer for distance query for the SQL Geometry.
命名空間: Microsoft.SqlServer.Types
組件: Microsoft.SqlServer.Types (在 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
'用途
Dim instance As SqlGeometry
Dim distance As Double
Dim disableInternalFiltering As Boolean
Dim returnValue As ISqlSpatialGridIndexable
returnValue = CType(instance, ISqlSpatialGridIndexable).BufferForDistanceQuery(distance, _
disableInternalFiltering)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable ISqlSpatialGridIndexable.BufferForDistanceQuery(
double distance,
out bool disableInternalFiltering
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
private:
virtual ISqlSpatialGridIndexable^ BufferForDistanceQuery(
double distance,
[OutAttribute] bool% disableInternalFiltering
) sealed = ISqlSpatialGridIndexable::BufferForDistanceQuery
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private abstract BufferForDistanceQuery :
distance:float *
disableInternalFiltering:bool byref -> ISqlSpatialGridIndexable
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private override BufferForDistanceQuery :
distance:float *
disableInternalFiltering:bool byref -> ISqlSpatialGridIndexable
JScript 支援明確介面實作的使用,但不支援新介面實作的宣告。
參數
- distance
型別:System.Double
Is a double that specifies the distance from the SqlGeometry instance around which to calculate the buffer.
- disableInternalFiltering
型別:System.Boolean%
True if the SQL Geometry disables intermediate filtering; otherwise, false.
傳回值
型別:Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The buffer for distance query.
實作
ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean%)