Метод SqlGeography.ShortestLineTo (SqlGeography)
Возвращает кратчайшее расстояние между двумя SqlGeographyэкземпляров.
Пространство имен: Microsoft.SqlServer.Types
Сборка: Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)
Синтаксис
[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
Параметры
other
Type: Microsoft.SqlServer.Types.SqlGeographyЭкземпляр SqlGeography, кратчайшее расстояние до которого пытается определить вызывающий экземпляр SqlGeography.
Возвращаемое значение
Type: Microsoft.SqlServer.Types.SqlGeography
Кратчайшее расстояние между двумя SqlGeography экземпляров.
См. также
Класс SqlGeography
Пространство имен Microsoft.SqlServer.Types
ShortestLineTo (тип данных geography)
Вернуться в начало