SP Delete Event Subcommand

access: Administrators, Managers

Clears an existing event using the event ID:

sp delete event {EVENT ID | {-a | --all}} [-q | --quiet]

Arguments Description
EVENT ID

Specifies the existing event to clear. This argument is repeatable to clear multiple events at one time.

[-a | --all]

Removes all events.

[-q | --quiet] If the event to delete is not found, this argument specifies that no error be returned.

Return Codes

Following are the return values for this command:

Code Numeric Code Description
NWSE_Success 0 Command successfully completed.
NWSE_InvalidUsage 1 Invalid usage: bad parameter usage, conflicting options specified.
NWSE_RPCTimeout 2 Request was issued, but was not serviced by the server. RPC procedure timed out and the request may or may not have been serviced by the server.
NWSE_RPCNotConnected 3 Unable to connect to the RPC server.
NWSE_NotFound 5 The event was not found.
NWSE_NoPermission 6 Not authorized to perform this operation.
NWSE_NoMemory 8 Insufficient memory.
NWSE_InvalidOpForState 22 Invalid operation for current state. The event could not be cleared because it is not in the appropriate state. The state must be clearable, unique, or informational.

Related Topics

System Management Commands

SP Command