PackageManager.SetPackageVolumeOfflineAsync(PackageVolume) Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Menyetel volume yang ditentukan ke status offline. Penelepon harus menjadi anggota grup administrator.
public:
virtual IAsyncOperationWithProgress<DeploymentResult ^, DeploymentProgress> ^ SetPackageVolumeOfflineAsync(PackageVolume ^ packageVolume) = SetPackageVolumeOfflineAsync;
/// [Windows.Foundation.Metadata.RemoteAsync]
IAsyncOperationWithProgress<DeploymentResult, DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume const& packageVolume);
[Windows.Foundation.Metadata.RemoteAsync]
public IAsyncOperationWithProgress<DeploymentResult,DeploymentProgress> SetPackageVolumeOfflineAsync(PackageVolume packageVolume);
function setPackageVolumeOfflineAsync(packageVolume)
Public Function SetPackageVolumeOfflineAsync (packageVolume As PackageVolume) As IAsyncOperationWithProgress(Of DeploymentResult, DeploymentProgress)
Parameter
- packageVolume
- PackageVolume
Volume yang akan diambil secara offline.
Mengembalikan
Objek yang dapat diamati pemanggil untuk melacak kemajuan dan penyelesaian panggilan. Objek mengimplementasikan pola IAsyncOperationWithProgress .
- Atribut
Persyaratan Windows
| Persyaratan | Deskripsi |
|---|---|
| Kemampuan aplikasi |
packageManagement
|