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
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro