TechNet
Export (0) Print
Expand All
Collapse the table of content
Expand the table of content
Expand Minimize

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)

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

Parameters

other
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
Show:
© 2016 Microsoft