Share via


PackageManager.SetPackageVolumeOnlineAsync(PackageVolume) Method

Definition

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

Applies to

See also