PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) Method

Definition

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

public : IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume packageVolume)
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume packageVolume) const;
public IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume packageVolume)
Public Function SetPackageVolumeOfflineAsync(packageVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResultDeploymentProgress)

Parameters

packageVolume
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.

Additional features and requirements

Capabilities
packageManagement