SqlSpatialFunctions.Filter 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
提供一種快速且僅索引的交叉方法,用以判斷一個地理實例是否與其他 SqlGeography 實例相交,前提是有索引可用。
多載
| 名稱 | Description |
|---|---|
| Filter(DbGeography, DbGeography) |
提供一種快速且僅索引的交叉方法,用以判斷一個地理實例是否與其他 SqlGeography 實例相交,前提是有索引可用。 |
| Filter(DbGeometry, DbGeometry) |
提供一種快速且僅有索引的交叉方法,用以判斷地理實例是否與其他 SqlGeometry 實例相交,前提是有索引可用。 |
Filter(DbGeography, DbGeography)
提供一種快速且僅索引的交叉方法,用以判斷一個地理實例是否與其他 SqlGeography 實例相交,前提是有索引可用。
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)
參數
- geographyValue
- DbGeography
地理價值。
- geographyOther
- DbGeography
另一個地理實例,與 Filter 被調用的實例做比較。
傳回
true如果一個地理實例可能與另一個 SqlGeography 實例相交;否則,。 false
- 屬性
適用於
Filter(DbGeometry, DbGeometry)
提供一種快速且僅有索引的交叉方法,用以判斷地理實例是否與其他 SqlGeometry 實例相交,前提是有索引可用。
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)
參數
- geometryValue
- DbGeometry
幾何數值。
- geometryOther
- DbGeometry
另一個地理實例,與 Filter 被調用的實例做比較。
傳回
true如果一個地理實例可能與另一個 SqlGeography 實例相交;否則,。 false
- 屬性