2 つの SqlGeography インスタンスの間の最短距離を返します。
名前空間: Microsoft.SqlServer.Types
アセンブリ: Microsoft.SqlServer.Types (Microsoft.SqlServer.Types.dll)
構文
'宣言
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function ShortestLineTo ( _
other As SqlGeography _
) As SqlGeography
'使用
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlGeography
returnValue = instance.ShortestLineTo(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeography ShortestLineTo(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeography^ ShortestLineTo(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member ShortestLineTo :
other:SqlGeography -> SqlGeography
public function ShortestLineTo(
other : SqlGeography
) : SqlGeography
パラメーター
- other
型: Microsoft.SqlServer.Types.SqlGeography
呼び出し元の SqlGeography インスタンスとの最短距離を判別するための SqlGeography インスタンスです。
戻り値
型: Microsoft.SqlServer.Types.SqlGeography
2 つの SqlGeography インスタンスの間の最短距離です。
関連項目
参照
Microsoft.SqlServer.Types 名前空間