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

Development Requirements

See Also


Send comments about this topic to Microsoft.