SavedSearchDeleteProcedure

Type: Stored procedure

Deletes a saved search.

You can edit this procedure if you have tables with foreign keys against SoftadminApi.SavedSearch that you need to delete from.

Return value: int

Returns a negative value on failure.

Parameters

@SearchId mandatory int
The search to delete.
@UserId mandatory int
The user attempting to delete the search.