SendConfigurationApply method

Sends the configuration document to the managed node and uses the Configuration Agent to apply the configuration.

Syntax

uint32 SendConfigurationApply(
  [in] uint8   ConfigurationData[],
  [in] boolean force
);

Parameters

ConfigurationData [in] The environment data for the configuration.

force [in] true to force the configuration to stop.

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

MSFT_DSCLocalConfigurationManager