Partager via


IDownloadStatus::PackageId Property

Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2

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: BSTR

    Qualifiers: [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

For more information, see Configuration Manager Client Runtime Requirements.

Development Requirements

For more information, see Configuration Manager Client Development Requirements.

See Also

Concepts

DownloadStatus Class