Freigeben über


SqlGeography.ISqlSpatialGridIndexable.BufferForDistanceQuery-Methode

Returns the buffer for distance query for the SQL Geography.

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

Syntax

'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Private Function BufferForDistanceQuery ( _
    distance As Double, _
    <OutAttribute> ByRef disableIntermediateFiltering As Boolean _
) As ISqlSpatialGridIndexable Implements ISqlSpatialGridIndexable.BufferForDistanceQuery
'Usage
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 unterstützt die Verwendung expliziter Schnittstellenimplementierungen, aber nicht die Deklaration neuer Schnittstellenimplementierungen.

Parameter

  • distance
    Typ: System.Double
    Is a double that specifies the distance from the SqlGeography instance around which to calculate the buffer.
  • disableIntermediateFiltering
    Typ: System.Boolean%
    True if the SQL Geography disables intermediate filtering; otherwise, false.

Rückgabewert

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

Implementiert

ISqlSpatialGridIndexable.BufferForDistanceQuery(Double, Boolean%)

Siehe auch

Verweis

SqlGeography Klasse

Microsoft.SqlServer.Types-Namespace