SqlGeography.STContains 方法 (SqlGeography)
指定调用 SqlGeography 实例在空间上是否包含传递给该方法的 SqlGeography 实例。
命名空间: Microsoft.SqlServer.Types
程序集: Microsoft.SqlServer.Types(位于 Microsoft.SqlServer.Types.dll)
语法
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STContains(
SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STContains(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STContains :
other:SqlGeography -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STContains (
other As SqlGeography
) As SqlBoolean
参数
other
Type: Microsoft.SqlServer.Types.SqlGeography用于检查是否包含在调用实例内的 SqlGeography 实例。
返回值
Type: System.Data.SqlTypes.SqlBoolean
如果调用实例包含 other 实例,则为 true;否则为 false。
另请参阅
SqlGeography 类
Microsoft.SqlServer.Types 命名空间
STContains (geography 数据类型)
返回页首