Compartilhar via


SqlGeography.STBuffer(Double) Method

Definition

Returns a geography object that represents the union of all points whose distance from a SqlGeography instance is less than or equal to a specified value.

[Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)]
public Microsoft.SqlServer.Types.SqlGeography STBuffer (double distance);
[<Microsoft.SqlServer.Server.SqlMethod(IsDeterministic=true, IsPrecise=false)>]
member this.STBuffer : double -> Microsoft.SqlServer.Types.SqlGeography
Public Function STBuffer (distance As Double) As SqlGeography

Parameters

distance
Double

Is a double that specifies the distance from the geography instance around which to calculate the buffer.

Returns

A double that represents the union of all points that are the specified distance from the current SqlGeography.

Attributes

Applies to