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.SqlGeographySqlGeography 实例,进行调用的 SqlGeography 实例尝试确定与该实例之间的最短距离。
返回值
Type: Microsoft.SqlServer.Types.SqlGeography
两者之间的最短距离 SqlGeography 实例。
另请参阅
SqlGeography 类
Microsoft.SqlServer.Types 命名空间
ShortestLineTo(geography 数据类型)
返回页首