STContains Method
Collapse the table of content
Expand the table of content

SqlGeography.STContains Method (SqlGeography)


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)

No code example is currently available or this language may not be supported.


Type: Microsoft.SqlServer.Types.SqlGeography

The 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.

Return to top
© 2015 Microsoft