Compartir a través de


SqlGeography.STOverlaps Método

Returns 1 if a SqlGeography instance spatially overlaps another SqlGeography instance, or 0 if it does not.

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 STOverlaps ( _
    other As SqlGeography _
) As SqlBoolean
'Uso
Dim instance As SqlGeography 
Dim other As SqlGeography 
Dim returnValue As SqlBoolean 

returnValue = instance.STOverlaps(other)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public SqlBoolean STOverlaps(
    SqlGeography other
)
[SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)]
public:
SqlBoolean STOverlaps(
    SqlGeography^ other
)
[<SqlMethodAttribute(IsDeterministic = true, IsPrecise = false)>]
member STOverlaps : 
        other:SqlGeography -> SqlBoolean
public function STOverlaps(
    other : SqlGeography
) : SqlBoolean

Parámetros

Valor devuelto

Tipo: System.Data.SqlTypes.SqlBoolean
1 if the two instances overlap; otherwise, 0.

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types

Otros recursos

STOverlaps (tipo de datos geography)