RegisteredTask.GetRunTimes method
For scripting, gets the times that the registered task is scheduled to run during a specified time.
Syntax
RegisteredTask.GetRunTimes( _
ByVal begin, _
ByVal end, _
ByRef count, _
ByRef rgstTaskTimes _
)
Parameters
-
begin [in]
-
The starting time for the query.
-
end [in]
-
The ending time for the query.
-
count [out]
-
The number of scheduled times the task will run.
-
rgstTaskTimes [out]
-
The scheduled times that the task will run.
Return value
This method does not return a value.
Remarks
If the registered task contains triggers that are individually disabled, these triggers will still affect the next scheduled run time that is returned even though they are disabled.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Type library |
|
DLL |
|
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for