IProgram::PackageId is a read-only property, in Configuration Manager, that indicates the ID of the package to which the program belongs.

[IDL]
HRESULT PackageId([out, retval] BSTR* pVal);

Parameters

pVal


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

Return Values

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

S_OK


The method succeeded.

Requirements

UIResource.dll.

Runtime Requirements

Development Requirements

See Also

Reference

Program Class


Send comments about this topic to Microsoft.