Delete Collections by Wildcard

Deletes a set of collections that match the wildcard search criteria.

 

Input Arguments

 

0

String

Search String

The wildcard selection criteria

1

Boolean

Case Sensitive Search

Indicates whether or not the search should be case-sensitive.

2

Boolean

Allow Deleting all Collections

If set to FALSE, the command will fail if all collec-

tions meet the search criteria.

 

Return Arguments

 

3

Integer

Num Deleted

The number of collections that were successfully deleted.

4

Integer

Num Failed

The number of collections which matched the

search criteria but could not be deleted.

 

Returned Status

 

SUCCESS

The collections were deleted successfully.

FAILURE

Argument 2 was set to FALSE and all collections met the search criteria.

 

Remarks

Enter wildcard search criteria using the same convention as elsewhere in SA: asterisks (*) are wildcard placeholders for one or more characters, and a question mark (?) is a wildcard character for a single character. Specific characters can also be found using brackets[].