Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Returns the shortest distance between the two SqlGeometryinstances.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
'Declaration
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function ShortestLineTo ( _
other As SqlGeometry _
) As SqlGeometry
'Usage
Dim instance As SqlGeometry
Dim other As SqlGeometry
Dim returnValue As SqlGeometry
returnValue = instance.ShortestLineTo(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlGeometry ShortestLineTo(
SqlGeometry other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlGeometry^ ShortestLineTo(
SqlGeometry^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member ShortestLineTo :
other:SqlGeometry -> SqlGeometry
public function ShortestLineTo(
other : SqlGeometry
) : SqlGeometry
Parameters
- other
Type: Microsoft.SqlServer.Types.SqlGeometry
The SqlGeometry instance that the calling SqlGeometry instance is trying to determine the shortest distance to.
Return Value
Type: Microsoft.SqlServer.Types.SqlGeometry
The shortest distance between the two SqlGeometry instances.