DeleteSkus Method (String)

Deletes all of the inventory SKUs that match the SQL expression.

Namespace:  Microsoft.CommerceServer.Inventory
Assembly:  Microsoft.CommerceServer.Catalog (in Microsoft.CommerceServer.Catalog.dll)

Syntax

'Declaration
Public Sub DeleteSkus ( _
    deleteExpression As String _
)
'Usage
Dim instance As InventoryCatalog
Dim deleteExpression As String

instance.DeleteSkus(deleteExpression)
public void DeleteSkus(
    string deleteExpression
)
public:
void DeleteSkus(
    String^ deleteExpression
)
public function DeleteSkus(
    deleteExpression : String
)

Parameters

  • deleteExpression
    Type: System..::.String
    The SQL expression that selects the SKUs to delete.

Remarks

Deletes SKUs that match the deleteExpression from the InventoryCatalog. If deleteExpression is set to nullNothingnullptra null reference (Nothing in Visual Basic), all SKUs in the InventoryCatalog are deleted.

Permissions

See Also

Reference

InventoryCatalog Class

InventoryCatalog Members

DeleteSkus Overload

Microsoft.CommerceServer.Inventory Namespace