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);

Parameters

pVal


Data type: BSTRQualifiers: [out, retval]Pointer to the ID of the package to which this program belongs.

Return Values

An HRESULT code. Possible values include, but are not limited to, the following:

S_OK


The method succeeded.

Remarks

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.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also


Send comments about this topic to Microsoft.