PackageManager.SetPackageVolumeOnlineAsync(PackageVolume) メソッド

定義

指定したボリュームをオンライン状態に設定します。 呼び出し元は、管理者グループのメンバーである必要があります。

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)

パラメーター

packageVolume
PackageVolume

オンラインにするボリューム。

戻り値

呼び出しの進行状況と完了を追跡するために呼び出し元が観察できるオブジェクト。 オブジェクトは 、IAsyncOperationWithProgress パターンを実装します

属性

Windows の要件

アプリの機能
packageManagement

適用対象

こちらもご覧ください