IDownloadStatus::PackageId is a read-only property, in Configuration Manager, that indicates the package ID for an optional program that is being downloaded.
[IDL] HRESULT PackageId([out, retval] BSTR* pVal);
- Data type: BSTRQualifiers: [out, retval]Pointer to the ID of the package to which this program belongs.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
Each instance of DownloadStatus Class corresponds to a particular optional program that is being downloaded. This property identifies the package to which this program belongs. The user must be logged on to the Configuration Manager console to access this property.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.