ApplyConfiguration method
Uses the Configuration Agent to apply the configuration that is pending.
If there is no configuration pending, this method reapplies the current configuration.
Syntax
uint32 ApplyConfiguration(
[in] boolean force
);
Parameters
force
If this is true, the current configuration is reapplied, even if there is a configuration pending.
Return value
Returns zero on success; otherwise returns an error code.
Remarks
This is a static method.
Requirements
MOF: DscCore.mof
Namespace: Root\Microsoft\Windows\DesiredStateConfiguration
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for