PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) 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.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for