Метод SqlGeography.STWithin (SqlGeography)

 

Возвращает 1, если экземпляр SqlGeography находится в пространстве другого экземпляра SqlGeography. В противном случае возвращается 0.

Пространство имен:   Microsoft.SqlServer.Types
Сборка:  Microsoft.SqlServer.Types (в Microsoft.SqlServer.Types.dll)

Синтаксис

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STWithin(
    SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STWithin(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STWithin : 
        other:SqlGeography -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STWithin (
    other As SqlGeography
) As SqlBoolean

Параметры

Возвращаемое значение

Type: System.Data.SqlTypes.SqlBoolean

Значение 1, если SqlGeography находится внутри другого экземпляра SqlGeography.

См. также

Класс SqlGeography
Пространство имен Microsoft.SqlServer.Types
STWithin (тип данных geography)

Вернуться в начало