PackageManager.SetPackageVolumeOnlineAsync(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 online state. The caller must be a member of the administrators group.
public:
virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ SetPackageVolumeOnlineAsync(PackageVolume ^ packageVolume) = SetPackageVolumeOnlineAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> SetPackageVolumeOnlineAsync(PackageVolume const& packageVolume);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> SetPackageVolumeOnlineAsync(PackageVolume packageVolume);
function setPackageVolumeOnlineAsync(packageVolume)
Public Function SetPackageVolumeOnlineAsync (packageVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)
Parameters
- packageVolume
- PackageVolume
The volume to bring online.
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
|