SqlGeography.STDisjoint Method (SqlGeography)
Applies To: SQL Server 2016 Preview
Determines whether the calling SqlGeography instance is spatially disjoint from the specified SqlGeography instance.
Namespace: Microsoft.SqlServer.Types
Assembly: Microsoft.SqlServer.Types (in Microsoft.SqlServer.Types.dll)
Syntax
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STDisjoint(
SqlGeography other
)
public:
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
SqlBoolean STDisjoint(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDisjoint :
other:SqlGeography -> SqlBoolean
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)>
Public Function STDisjoint (
other As SqlGeography
) As SqlBoolean
Parameters
other
Type: Microsoft.SqlServer.Types.SqlGeographyA SqlGeography instance to compare against the instance on which STDisjoint is invoked.
Return Value
Type: System.Data.SqlTypes.SqlBoolean
A SqlBoolean value that indicates whether the SqlGeography instance is spatially disjointed from the specified SqlGeography. If the instances are spatially disjointed, this method returns true. Otherwise, false.
Remarks
Two geography instances are disjoint if the intersection of their point sets is empty.
This method always returns null if the spatial reference IDs (SRIDs) of the SqlGeography instances do not match.
See Also
SqlGeography Class
Microsoft.SqlServer.Types Namespace
Return to top