Partilhar via


Método SqlGeometry.ISqlSpatialGridIndexable.BufferForDistanceQuery

Returns the buffer for distance query for the SQL Geometry.

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

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Private Function BufferForDistanceQuery ( _
    distance As Double, _
    <OutAttribute> ByRef disableInternalFiltering As Boolean _
) As ISqlSpatialGridIndexable Implements ISqlSpatialGridIndexable.BufferForDistanceQuery
'Uso
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 dá suporte ao uso de implementações de interfaces explícitas, mas não a declarações de implementações novas.

Parâmetros

  • distance
    Tipo: System.Double
    Is a double that specifies the distance from the SqlGeometry instance around which to calculate the buffer.
  • disableInternalFiltering
    Tipo: System.Boolean%
    True if the SQL Geometry disables intermediate filtering; otherwise, false.

Valor de retorno

Tipo: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The buffer for distance query.

Implementa

ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean%)

Consulte também

Referência

SqlGeometry Classe

Namespace Microsoft.SqlServer.Types