IProgram2::GetNextMandatoryTime Method
Applies To: System Center Configuration Manager 2007, System Center Configuration Manager 2007 R2, System Center Configuration Manager 2007 R3, System Center Configuration Manager 2007 SP1, System Center Configuration Manager 2007 SP2
The IProgram2::GetNextMandatoryTime method, in Configuration Manager, gets the time of when a mandatory program will run next on a client computer.
[IDL]
HRESULT GetNextMandatoryTime(
DATE* pNextDate,
BOOL* pbLogoff,
BOOL* pbLogon
);
Parameters
pNextDate
Data type: DATEQualifiers: [out, retval]
Pointer to the first future mandatory time. The value is 0 if there is not a future mandatory time.
pbLogOff
Data type: BOOLQualifiers: [out]
Pointer to true if the program is scheduled to run at the next logoff.
pbLogon
Data type: BOOLQualifiers: [out]
Pointer to true if the program is scheduled to run at the next logon.
Return Values
An HRESULT code. Possible values include, but are not limited to, the following:
- S_OK
The method succeeded.
Requirements
UIResource.dll.
Runtime Requirements
For more information, see Configuration Manager Client Runtime Requirements.
Development Requirements
For more information, see Configuration Manager Client Development Requirements.