Partager via


SqlGeometry.ShortestLineTo méthode (SqlGeometry)

 

Retourne la distance la plus courte entre deux instances SqlGeometry.

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

Syntaxe

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry ShortestLineTo(
    SqlGeometry other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlGeometry^ ShortestLineTo(
    SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member ShortestLineTo : 
        other:SqlGeometry -> SqlGeometry
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function ShortestLineTo (
    other As SqlGeometry
) As SqlGeometry

Paramètres

Valeur de retour

Type: Microsoft.SqlServer.Types.SqlGeometry

Distance la plus courte entre deux instances SqlGeometry.

Voir aussi

SqlGeometry classe
Microsoft.SqlServer.Types espace de noms

Retour au début