Jaa


PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) Method

Definition

Sets the specified volume to an offline state. The caller must be a member of the administrators group.

public:
 virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ SetPackageVolumeOfflineAsync(PackageVolume ^ packageVolume) = SetPackageVolumeOfflineAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume const& packageVolume);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume packageVolume);
function setPackageVolumeOfflineAsync(packageVolume)
Public Function SetPackageVolumeOfflineAsync (packageVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)

Parameters

packageVolume
PackageVolume

The volume to take offline.

Returns

An object that the caller can observe to track progress and completion for the call. The object implements the IAsyncOperationWithProgress pattern.

Attributes

Windows requirements

App capabilities
packageManagement

Applies to

See also