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
- 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.