If the queue transport
is used, then the package is removed from the queue, along with all
messages that are associated with the package. If the package contains
nested packages, then all entries that are contained within the nested
packages are also removed from the queue. If the archive transport
is used, then the archive is deleted. If the WebDAV transport is used,
then the package and its contents are deleted from the WebDAV server.
If the SharePoint transport is used, then the package and its contents
are removed from the SharePoint server.
The PACKAGE_DESTROY
CALL routine does not support package identifiers that represent nested
packages, which are returned by way of the RETRIEVE_NESTED CALL routine.
The PACKAGE_DESTROY CALL routine supports only top-level package identifiers,
which are returned by
PACKAGE_FIRST and
PACKAGE_NEXT.