Partager via


Méthode SqlGeography.BufferWithCurves

Returns a SqlGeography instance that represents the set of all points whose distance from the calling SqlGeography instance is less than or equal to the distance parameter.

Espace de noms :  Microsoft.SqlServer.Types
Assembly :  Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)

Syntaxe

'Déclaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function BufferWithCurves ( _
    distance As Double _
) As SqlGeography
'Utilisation
Dim instance As SqlGeography 
Dim distance As Double 
Dim returnValue As SqlGeography 

returnValue = instance.BufferWithCurves(distance)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography BufferWithCurves(
    double distance
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ BufferWithCurves(
    double distance
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member BufferWithCurves : 
        distance:float -> SqlGeography
public function BufferWithCurves(
    distance : double
) : SqlGeography

Paramètres

  • distance
    Type : System.Double
    The maximum distance that points forming the buffer can be from the geography instance.

Valeur de retour

Type : Microsoft.SqlServer.Types.SqlGeography
The set of all points whose distance from the calling SqlGeography instance is less than or equal to distance.

Voir aussi

Référence

SqlGeography Classe

Espace de noms Microsoft.SqlServer.Types

Autres ressources

BufferWithCurves (type de données geography)