Nota:
El acceso a esta página requiere autorización. Puede intentar iniciar sesión o cambiar directorios.
El acceso a esta página requiere autorización. Puede intentar cambiar los directorios.
Determines whether the calling SqlGeography instance is spatially disjoint from the specified SqlGeography instance.
Espacio de nombres: Microsoft.SqlServer.Types
Ensamblado: Microsoft.SqlServer.Types (en Microsoft.SqlServer.Types.dll)
Sintaxis
'Declaración
<SqlMethodAttribute(IsDeterministic := True, IsPrecise := False)> _
Public Function STDisjoint ( _
other As SqlGeography _
) As SqlBoolean
'Uso
Dim instance As SqlGeography
Dim other As SqlGeography
Dim returnValue As SqlBoolean
returnValue = instance.STDisjoint(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STDisjoint(
SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STDisjoint(
SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STDisjoint :
other:SqlGeography -> SqlBoolean
public function STDisjoint(
other : SqlGeography
) : SqlBoolean
Parámetros
- other
Tipo: Microsoft.SqlServer.Types.SqlGeography
A SqlGeography instance to compare against the instance on which STDisjoint is invoked.
Valor devuelto
Tipo: 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.
Comentarios
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.