IProgram::CompletionAction is a read-only property, in Configuration Manager, that indicates the required actions when the program finishes.
[IDL] HRESULT CompletionAction([out, retval] tagCompletionActions* pVal);
- Data type: tagCompletionActionsQualifiers: [out,
retval]Pointer to a flag indicating the action required when the
program finishes. Possible values are:
Name Actual Value Description
No completion action for the program.
Configuration Manager logs off the current user when the program that is running completes.
Configuration Manager restarts the computer when the program that is running completes.
The program restarts the computer during running.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
This property is useful for allowing users to know whether a program is going to perform an action that might restart or log off the computer.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
Send comments about this topic to Microsoft.