The IsFutureWindowAvailable WMI class method, in Configuration Manager, determines whether a service window of a specified type and the given duration is going to be available.
The following syntax is simplified from Managed Object Format (MOF) code and defines the method.
uint32 IsFutureWindowAvailable( [IN] UInt32 ServiceWindowType, [IN] Boolean FallbackToAllProgramsWindow, [IN] UInt32 MaxRuntime, [OUT] Boolean WillProgramRunInFuture );
- Data type: UInt32Qualifiers: [in]Type of service window.
The following table lists the possible values.
Value Service Window Type Description
All Programs Service Window
Program Service Window
Reboot Required Service Window
Software Update Service Window
OSD Service Window
Corresponds to non-working hours.
- Data type: BooleanQualifiers: [in]true if the generic All programs window service window is to be used when a window specified in ServiceWindowType is not available; otherwise, false.
- Data type: UInt32Qualifiers: [in] Maximum run time, in
minutes, that a software update installation has to complete before
the installation is no longer monitored by Configuration Manager.
This setting is also used to determine whether there is enough time
to install the update before the end of a maintenance window. The
default setting is 60 minutes for service packs and 5 minutes for
all other software update types. Values can range from 5 to 9999
Important Make sure that the maximum run time value is not set for more time than the configured maintenance window or the software update installation will not initiate.
- Data type: BooleanQualifiers: [out] true if the specified service window is going to be available; otherwise, false.
A UInt32 data type that is 0 to indicate success or nonzero to indicate failure.
For information about handling returned errors, see About Configuration Manager Errors.
For more information, see Configuration Manager Client Runtime Requirements.
For more information, see Configuration Manager Client Development Requirements.