Partilhar via


Método ISqlSpatialGridIndexable.BufferForDistanceQuery

Essa API oferece suporte à infraestrutura do SQL Server 2012 e não se destina a ser usada diretamente no seu código.

Constructs a buffer for the given distance.

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

Sintaxe

'Declaração
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Function BufferForDistanceQuery ( _
    distance As Double, _
    <OutAttribute> ByRef disableInternalFiltering As Boolean _
) As ISqlSpatialGridIndexable
'Uso
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

Parâmetros

  • distance
    Tipo: System.Double
    The distance used to calculate the buffer.
  • disableInternalFiltering
    Tipo: System.Boolean%
    When this method returns, contains a value that indicates whether internal filtering is disabled.

Valor de retorno

Tipo: Microsoft.SqlServer.Types.ISqlSpatialGridIndexable
The ISqlSpatialGridIndexable object that represents the buffer for the given distance.

Consulte também

Referência

ISqlSpatialGridIndexable Interface

Namespace Microsoft.SqlServer.Types