SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
创建一个 DbFunctionExpression 调用规范“SpatialBuffer”函数的指定参数,该函数必须具有 Edm.Geography 或 Edm.Geometry 和 Edm.Double 结果类型。 表达式的结果类型为 Edm.Geometry。
public:
[System::Runtime::CompilerServices::Extension]
static System::Data::Common::CommandTrees::DbFunctionExpression ^ SpatialBuffer(System::Data::Common::CommandTrees::DbExpression ^ spatialValue, System::Data::Common::CommandTrees::DbExpression ^ distance);
public static System.Data.Common.CommandTrees.DbFunctionExpression SpatialBuffer(this System.Data.Common.CommandTrees.DbExpression spatialValue, System.Data.Common.CommandTrees.DbExpression distance);
static member SpatialBuffer : System.Data.Common.CommandTrees.DbExpression * System.Data.Common.CommandTrees.DbExpression -> System.Data.Common.CommandTrees.DbFunctionExpression
<Extension()>
Public Function SpatialBuffer (spatialValue As DbExpression, distance As DbExpression) As DbFunctionExpression
参数
- spatialValue
- DbExpression
一个指定空间值的表达式。
- distance
- DbExpression
一个指定缓冲区距离的表达式。
返回
一个新的 DbFunctionExpression,它返回一个几何图形值,表示小于或等于 distance 从 spatialValue中返回的所有点。
例外
spatialValue
distance
spatialValue
distance