DeleteQuantityDeltas Method (String)
Deletes all the Quantity deltas that match the specified filter.
Namespace: Microsoft.CommerceServer.Inventory
Assembly: Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)
Syntax
'Declaration
Public Sub DeleteQuantityDeltas ( _
deleteExpression As String _
)
'Usage
Dim instance As InventoryContext
Dim deleteExpression As String
instance.DeleteQuantityDeltas(deleteExpression)
public void DeleteQuantityDeltas(
string deleteExpression
)
public:
void DeleteQuantityDeltas(
String^ deleteExpression
)
public function DeleteQuantityDeltas(
deleteExpression : String
)
Parameters
- deleteExpression
Type: System..::.String
An expression to specify which records should be deleted.
Remarks
Deletes the quantity update records made by the runtime site. The InventoryQuantityDeltas are the quantities that were decremented/incremented for each product in the inventory system. This method deletes all of the quantity deltas that match the search criteria, deleteExpression.
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.