The TriggerSchedule method, in Configuration Manager, triggers the client to run the specified schedule.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
UInt32 TriggerSchedule( String sScheduleID ); |
Parameters
- sScheduleID
- Data type: StringQualifiers: [in]GUID of the schedule to be triggered.Example GUIDs:Hardware Inventory{00000000-0000-0000-0000-000000000001}Software Inventory{00000000-0000-0000-0000-000000000002}Data Discovery Record{00000000-0000-0000-0000-000000000003}File Collection{00000000-0000-0000-0000-000000000010}Machine Policy Assignments Request{00000000-0000-0000-0000-000000000021}Machine Policy Evaluation{00000000-0000-0000-0000-000000000022}
Return Values
A UInt32 data type that is 0 to indicate success or non-zero to indicate failure.
Requirements
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.
See Also
Reference
SMS_Client Client WMI ClassEvaluateMachinePolicy Method in Class SMS_Client
GetAssignedSite Method in Class SMS_Client
RequestMachinePolicy Method in Class SMS_Client
ResetPolicy Method in Class SMS_Client
SetAssignedSite Method in Class SMS_Client
SetGlobalLoggingConfiguration Method in Class SMS_Client
Send comments about this topic to Microsoft.