Compartir a través de


SqlGeography.STContains Método

Specifies whether the calling SqlGeography instance spatially contains the SqlGeography instance passed to the method.

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

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

Parámetros

Valor devuelto

Tipo: System.Data.SqlTypes.SqlBoolean
true if the calling instance contains the other instance; otherwise, false.

Vea también

Referencia

SqlGeography Clase

Espacio de nombres Microsoft.SqlServer.Types

Otros recursos

STContains (tipo de datos de geografía)