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
other
Type: Microsoft.SqlServer.Types.SqlGeometryLe SqlGeometry d’instance qui l’appelle SqlGeometry instance essaie de déterminer la distance la plus courte.
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