Поделиться через


Метод SqlGeography.STContains

Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.

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

Синтаксис

'Декларация
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STContains ( _
    other As SqlGeography _
) As SqlBoolean
'Применение
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlBoolean 

returnValue = instance.STContains(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STContains(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STContains(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STContains : 
        other:SqlGeography -> SqlBoolean
public function STContains(
    other : SqlGeography
) : SqlBoolean

Параметры

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

Тип: System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.

См. также

Справочник

SqlGeography Класс

Пространство имен Microsoft.SqlServer.Types

Другие ресурсы

STContains (тип данных geography)