Partager via


SqlGeography.ShortestLineTo méthode (SqlGeography)

 

Retourne la distance la plus courte entre les deux SqlGeographyinstances.

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

Syntaxe

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

Paramètres

Valeur de retour

Type: Microsoft.SqlServer.Types.SqlGeography

Distance la plus courte entre deux instances de SqlGeography.

Voir aussi

SqlGeography classe
Microsoft.SqlServer.Types espace de noms
ShortestLineTo (type de données geography)

Retour au début