Export (0) Print
Expand All

SqlGeography.STContains Method

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)

[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STContains(
	SqlGeography other


Type: Microsoft.SqlServer.Types.SqlGeography
The SqlGeography instance to check if it is contained within the calling instance.

Return Value

Type: SqlBoolean
true if the calling instance contains the other instance; otherwise, false.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

© 2015 Microsoft