The RequestMachinePolicy method, in Configuration Manager, initiates a request for machine policy.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
UInt32 RequestMachinePolicy( UInt32 uFlags );
- Data type: UInt32Qualifiers: [in]Flags identifying the
policy. Possible values are:
A machine policy retrieval cycle is initiated.
A machine policy validation cycle is initiated, and the server and client cyclical redundancy checks (CRCs) are compared to verify that the policies are in agreement. If the policies are not in agreement, then a resynchronization is initiated.
A UInt32 data type that is 0 to indicate success or non-zero to indicate failure.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.
ReferenceSMS_Client Client WMI Class
EvaluateMachinePolicy Method in Class SMS_Client
GetAssignedSite Method in Class SMS_Client
ResetPolicy Method in Class SMS_Client
SetAssignedSite Method in Class SMS_Client
SetGlobalLoggingConfiguration Method in Class SMS_Client
TriggerSchedule Method in Class SMS_Client