GetQuantityDeltas Method (String, SearchOptions)
Returns an InventoryQuantityDeltaCollection containing the quantity deltas that match the search clause.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Function GetQuantityDeltas ( _
searchClause As String, _
searchOptions As SearchOptions _
) As InventoryQuantityDeltaCollection
'Usage
Dim instance As InventoryContext
Dim searchClause As String
Dim searchOptions As SearchOptions
Dim returnValue As InventoryQuantityDeltaCollection
returnValue = instance.GetQuantityDeltas(searchClause, _
searchOptions)
public InventoryQuantityDeltaCollection GetQuantityDeltas(
string searchClause,
SearchOptions searchOptions
)
public:
InventoryQuantityDeltaCollection^ GetQuantityDeltas(
String^ searchClause,
SearchOptions^ searchOptions
)
public function GetQuantityDeltas(
searchClause : String,
searchOptions : SearchOptions
) : InventoryQuantityDeltaCollection
Parameters
- searchClause
Type: System..::.String
The expression to filter the quantity deltas on.
- searchOptions
Type: Microsoft.CommerceServer.Catalog..::.SearchOptions
The SearchOptions to filter the results on.
Return Value
Type: Microsoft.CommerceServer.Inventory..::.InventoryQuantityDeltaCollection
An InventoryQuantityDeltaCollection containing all the quantity deltas that match the searchClause. The results are filtered as per the searchOptions.
Remarks
The InventoryQuantityDeltas are the quantities that were decremented/incremented for each product in the inventory system.
The returned InventoryQuantityDeltaCollection contains the quantity deltas that match the searchClause.
Permissions
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.