PackageManager.AddPackageVolumeAsync(String) 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.
Creates a new volume. The caller must be a member of the administrators group.
public:
virtual IAsyncOperation<PackageVolume ^> ^ AddPackageVolumeAsync(Platform::String ^ packageStorePath) = AddPackageVolumeAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperation<PackageVolume> AddPackageVolumeAsync(winrt::hstring const& packageStorePath);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperation<PackageVolume> AddPackageVolumeAsync(string packageStorePath);
function addPackageVolumeAsync(packageStorePath)
Public Function AddPackageVolumeAsync (packageStorePath As String) As IAsyncOperation(Of PackageVolume)
Parameters
Returns
An object that the caller can observe to track progress and completion for the call. The object implements the IAsyncOperation interface and returns the newly added PackageVolume.
- Attributes
Windows requirements
App capabilities |
packageManagement
|