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
				 |