SqlGeography.STContains Method (SqlGeography)
Applies To: SQL Server 2016 Preview
Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[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
Parameters
other
Type: Microsoft.SqlServer.Types.SqlGeographyThe SqlGeography instance to check if it is contained within the calling instance.
Return Value
Type: System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
STContains (geography Data Type)
Return to top