Метод SqlGeography.STWithin
Returns 1 if a SqlGeography instance is spatially within another SqlGeography instance; otherwise, returns 0.
Пространство имен: Microsoft.SqlServer.Types
Сборка: Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)
Синтаксис
'Декларация
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STWithin ( _
other As SqlGeography _
) As SqlBoolean
'Применение
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STWithin(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STWithin(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STWithin :
other:SqlGeography -> SqlBoolean
public function STWithin(
other : SqlGeography
) : SqlBoolean
Параметры
- other
Тип: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to compare to the calling instance.
Возвращаемое значение
Тип: System.Data.SqlTypes.SqlBoolean
1 if the SqlGeography is within the other SqlGeography instance.
См. также
Справочник
Пространство имен Microsoft.SqlServer.Types