SpatialEdmFunctions.SpatialBuffer(DbExpression, DbExpression) Metod
Definition
Viktigt
En del information gäller för förhandsversionen av en produkt och kan komma att ändras avsevärt innan produkten blir allmänt tillgänglig. Microsoft lämnar inga garantier, uttryckliga eller underförstådda, avseende informationen som visas här.
Skapar en DbFunctionExpression som anropar den kanoniska funktionen SpatialBuffer med de angivna argumenten, som måste ha resultattyperna Edm.Geography eller Edm.Geometry och Edm.Double. Resultattypen för uttrycket är 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
Parametrar
- spatialValue
- DbExpression
Ett uttryck som anger det rumsliga värdet.
- distance
- DbExpression
Ett uttryck som anger buffertavståndet.
Returer
En ny DbFunctionExpression som returnerar ett geometrivärde som representerar alla punkter som är mindre än eller lika med distance från spatialValue.
Undantag
spatialValue
distance
spatialValue
distance