3.1.4.3.1 Return Values

If the DeleteField method is called through the DisplayPost method, it MUST return "0" (zero) if it is successful or the field does not exist, or a negative value if an error occurs.

If the DeleteField method is not called through the DisplayPost method, it MUST send an HTTP response to the protocol client and that response MUST be one of the following values:

Value

Description

302

Success. The redirection URL MUST be the value of the NextUsing parameter if that parameter was specified. If the NextUsing parameter is not specified, the redirection URL MUST be for the settings page for the list from which the field (2) was deleted.

401

Security not validated. The credentials that were supplied by the user are not valid.

404

Error.