Partager via


DeleteItems Method (String)

Delete items from this catalog matching a search clause.

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

Syntax

'Declaration
Public Function DeleteItems ( _
    searchClause As String _
) As Integer
'Usage
Dim instance As ProductCatalog
Dim searchClause As String
Dim returnValue As Integer

returnValue = instance.DeleteItems(searchClause)
public int DeleteItems(
    string searchClause
)
public:
int DeleteItems(
    String^ searchClause
)
public function DeleteItems(
    searchClause : String
) : int

Parameters

  • searchClause
    Type: System..::.String
    A search clause specifying the items to delete.

Return Value

Type: System..::.Int32
Number of items deleted.

Remarks

Bulk delete all items matching this search clause. Returns the number of items deleted. This method will only delete concrete items declared in this catalog.

Permissions

See Also

Reference

ProductCatalog Class

ProductCatalog Members

DeleteItems Overload

Microsoft.CommerceServer.Catalog Namespace