IProgram2::IsAssigned is a read-only property, in Configuration Manager, that indicates whether a program is advertised to the user as a mandatory program or as an optional program.
[IDL] HRESULT IsAssigned(BOOL* pVal); |
Parameters
- pVal
- Data type: BOOLQualifiers: [out, retval]Pointer to true if the program is mandatory and to false if the program is optional.
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
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Send comments about this topic to Microsoft.