In Configuration Manager, the ICcmEvent::SubmitPending method submits an event that is stored by Windows Management Instrumentation (WMI).
[C++] HRESULT ICcmEvent::SubmitPending( BSTR bstrEventID, long lFlags );
- Data type: BSTRQualifiers: [in, optional, defaultvalue("0")]Reserved. Must be null.
- Data type: longQualifiers: [in, optional, defaultvalue(0)] Reserved. Must be zero.
An HRESULT code. Possible values include, but are not limited to, the following:
- The method succeeded.
Your application should use this method instead of the ICCMEvent::Submit Method in situations where the Configuration Manager Agent Host (CCMEXEC) service might not be running. Instead of directly calling CCMEXEC to submit the event, this method stores it in WMI. If the service is running, the event is picked up immediately and issued. Otherwise, it is issued the next time the service starts.
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.