SharedPackageContainerManager.DeleteContainer Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Deletes the specified package container.
public:
virtual DeleteSharedPackageContainerResult ^ DeleteContainer(Platform::String ^ id, DeleteSharedPackageContainerOptions ^ options) = DeleteContainer;
DeleteSharedPackageContainerResult DeleteContainer(winrt::hstring const& id, DeleteSharedPackageContainerOptions const& options);
public DeleteSharedPackageContainerResult DeleteContainer(string id, DeleteSharedPackageContainerOptions options);
function deleteContainer(id, options)
Public Function DeleteContainer (id As String, options As DeleteSharedPackageContainerOptions) As DeleteSharedPackageContainerResult
Parameters
- id
-
String
Platform::String
winrt::hstring
The ID of the package to delete.
A DeleteSharedPackageContainerOptions object specifying options for the delete operation.
Returns
A DeleteSharedPackageContainerResult object providing status information about the delete operation.
Remarks
Deletion destroys the container and all of its data in the current manager scope. For a user-scoped manager, it only removes for the current user. For a machine-scoped manager, it deprovisions the container so future users won’t acquire it.