3.0 KiB
title, description, author, ms.assetid, ms.pagetype, ms.mktglfcycl, ms.sitesec, ms.prod, ms.date
title | description | author | ms.assetid | ms.pagetype | ms.mktglfcycl | ms.sitesec | ms.prod | ms.date |
---|---|---|---|---|---|---|---|---|
App-V Package WMI Class | App-V Package WMI Class | jamiejdt | 0fc26c3b-9706-4804-be2d-645771dc33ae | mdop, appcompat, virtualization | deploy | library | w8 | 06/16/2016 |
App-V Package WMI Class
In the Application Virtualization (App-V) Client, the Package class is a Windows Management Instrumentation (WMI) class that represents all the virtual packages on the client. The virtual packages can contain many virtual applications.
Syntax
class Package
{
string Name;
string Version;
string PackageGUID;
string SftPath;
uint64 TotalSize;
uint64 CachedSize;
uint64 LaunchSize;
uint64 CachedLaunchSize;
boolean InUse;
boolean Locked;
uint16 CachedPercentage;
string VersionGUID;
};
Properties
Access type: Read-only
Qualifiers: None
The user-friendly name of the virtual package.
Access type: Read-only
Qualifiers: None
The version of the virtual package.
Access type: Read-only
Qualifiers: Key
The GUID identifier of the package configuration and source files.
Access type: Read-only
Qualifiers: None
The file path of the SFT file.
Access type: Read-only
Qualifiers: None
The total size of the virtual package, in kilobytes.
Access type: Read-only
Qualifiers: None
The total size of the cache for the virtual package, in kilobytes.
Access type: Read-only
Qualifiers: None
The total size of the virtual package’s primary feature block, in kilobytes.
CachedLaunchSize
Data type: UInt64
Access type: Read-only
Qualifiers: None
Total size of the virtual package’s primary feature block that has been cached, in kilobytes.
Access type: Read-only
Qualifiers: None
true if any virtual application in the virtual package is running; otherwise false.
Access type: Read-only
Qualifiers: None
true if the virtual package is locked; otherwise false.
CachedPercentage
Data type: UInt16
Access type: Read-only
Qualifiers: None
The percentage of the cache files. Based on the following formula: CachedSize / TotalSize × 100.
Access type: Read-only
Qualifiers: None
The GUID identifier of the package version.