PackageManager.SetPackageVolumeOnlineAsync(PackageVolume) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將指定的磁片區設定為線上狀態。 呼叫端必須是系統管理員群組的成員。
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
|