Compartir a través de


SqlSpatialFunctions.Filter Método

Definición

Proporciona un método de intersección rápido exclusivo para índices a fin de determinar si una instancia de geografía forma una intersección con otra instancia de SqlGeography, suponiendo que haya un índice disponible.

Sobrecargas

Filter(DbGeography, DbGeography)

Proporciona un método de intersección rápido exclusivo para índices a fin de determinar si una instancia de geografía forma una intersección con otra instancia de SqlGeography, suponiendo que haya un índice disponible.

Filter(DbGeometry, DbGeometry)

Proporciona un método de intersección rápido exclusivo para índices a fin de determinar si una instancia de geografía forma una intersección con otra instancia de SqlGeometry, suponiendo que haya un índice disponible.

Filter(DbGeography, DbGeography)

Proporciona un método de intersección rápido exclusivo para índices a fin de determinar si una instancia de geografía forma una intersección con otra instancia de SqlGeography, suponiendo que haya un índice disponible.

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeography ^ geographyValue, System::Data::Spatial::DbGeography ^ geographyOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter (System.Data.Spatial.DbGeography geographyValue, System.Data.Spatial.DbGeography geographyOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeography * System.Data.Spatial.DbGeography -> Nullable<bool>
Public Shared Function Filter (geographyValue As DbGeography, geographyOther As DbGeography) As Nullable(Of Boolean)

Parámetros

geographyValue
DbGeography

Valor de geografía.

geographyOther
DbGeography

Otra instancia geography que se va a comparar con la instancia en la que se invoca el filtro.

Devoluciones

true si una instancia de la geografía puede producir una intersección con otra instancia de SqlGeography; si no, false.

Atributos

Se aplica a

Filter(DbGeometry, DbGeometry)

Proporciona un método de intersección rápido exclusivo para índices a fin de determinar si una instancia de geografía forma una intersección con otra instancia de SqlGeometry, suponiendo que haya un índice disponible.

public:
 static Nullable<bool> Filter(System::Data::Spatial::DbGeometry ^ geometryValue, System::Data::Spatial::DbGeometry ^ geometryOther);
[System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")]
public static bool? Filter (System.Data.Spatial.DbGeometry geometryValue, System.Data.Spatial.DbGeometry geometryOther);
[<System.Data.Objects.DataClasses.EdmFunction("SqlServer", "FILTER")>]
static member Filter : System.Data.Spatial.DbGeometry * System.Data.Spatial.DbGeometry -> Nullable<bool>
Public Shared Function Filter (geometryValue As DbGeometry, geometryOther As DbGeometry) As Nullable(Of Boolean)

Parámetros

geometryValue
DbGeometry

Valor de geometría.

geometryOther
DbGeometry

Otra instancia geography que se va a comparar con la instancia en la que se invoca el filtro.

Devoluciones

true si una instancia de la geografía puede producir una intersección con otra instancia de SqlGeography; si no, false.

Atributos

Se aplica a