Previous Page | Next Page

Deleting Metadata Objects

Deleting a Repository

The DeleteMetadata method call for deleting a repository is formatted similarly to a DeleteMetadata method call for deleting an application metadata object, with two exceptions. To delete a repository, specify the following:

Keep in mind the following things when using the REPOS namespace flags:

A repository is unregistered by executing the DeleteMetadata method with the OMI_TRUSTED_CLIENT (2097152) flag on a repository object in the REPOS namespace.

Set the OMI_REINIT and the OMI_TRUSTED_CLIENT flags to clear a repository if you want to repopulate it completely with different metadata.

Set the OMI_DELETE (32) and the OMI_TRUSTED_CLIENT flags to delete a repository. OMI_DELETE deletes the contents of a repository and removes the whole registration from the SAS Repository Manager.

You must have administrative user status on the SAS Metadata Server to unregister, clear, or delete a repository. For more information about administrative user status, see the SAS Intelligence Platform: Security Administration Guide.

Previous Page | Next Page | Top of Page