PackageManager.AddPackageVolumeAsync(String) PackageManager.AddPackageVolumeAsync(String) PackageManager.AddPackageVolumeAsync(String) PackageManager.AddPackageVolumeAsync(String) Method

Definition

Creates a new volume. The caller must be a member of the administrators group.

public : IAsyncOperation<PackageVolume> AddPackageVolumeAsync(Platform::String packageStorePath)
IAsyncOperation<PackageVolume> AddPackageVolumeAsync(winrt::hstring packageStorePath) const;
public IAsyncOperation<PackageVolume> AddPackageVolumeAsync(String packageStorePath)
Public Function AddPackageVolumeAsync(packageStorePath As String) As IAsyncOperation(Of PackageVolume)

Parameters

packageStorePath
String String

The absolute path of the package store.

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.

Additional features and requirements

Capabilities
packageManagement