SQL Geography の距離のクエリのバッファーを返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Private Function BufferForDistanceQuery ( _
distance As Double, _
<OutAttribute> ByRef disableIntermediateFiltering As Boolean _
) As ISqlSpatialGridIndexable Implements ISqlSpatialGridIndexable.BufferForDistanceQuery
'使用
Dim instance As SqlGeography
Dim distance As Double
Dim disableIntermediateFiltering As Boolean
Dim returnValue As ISqlSpatialGridIndexable
returnValue = CType(instance, ISqlSpatialGridIndexable).BufferForDistanceQuery(distance, _
disableIntermediateFiltering)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
ISqlSpatialGridIndexable ISqlSpatialGridIndexable.BufferForDistanceQuery(
double distance,
out bool disableIntermediateFiltering
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
private:
virtual ISqlSpatialGridIndexable^ BufferForDistanceQuery(
double distance,
[OutAttribute] bool% disableIntermediateFiltering
) sealed = ISqlSpatialGridIndexable::BufferForDistanceQuery
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private abstract BufferForDistanceQuery :
distance:float *
disableIntermediateFiltering:bool byref -> ISqlSpatialGridIndexable
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
private override BufferForDistanceQuery :
distance:float *
disableIntermediateFiltering:bool byref -> ISqlSpatialGridIndexable
JScript は明示的なインターフェイス実装の使用をサポートしていますが、新規の宣言はサポートしていません。
パラメーター
- distance
型: System.Double
バッファー計算の対象となる SqlGeography インスタンスからの距離を指定する double です。
- disableIntermediateFiltering
型: System.Boolean%
SQL Geography により中間フィルター処理が無効化された場合は True、それ以外の場合は false です。
戻り値
型: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
距離のクエリのバッファーです。
実装
ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean%)