The CIM_SwapSpaceCheck class specifies the amount of swap space that needs to be available on the system. The amount is specified in the SwapSpaceSize property. The details of this checks are compared with the corresponding details found in a CIM_OperatingSystem object referenced by CIM_InstalledOS association for the CIM_ComputerSystem object describing the environment. When the value of TotalSwapSpaceSize property is greater than or equal to the value specified in SwapSpacesize, the condition is satisfied.
' The invoke method is to evaluate a particular check. The details of how the method evaluates a particular check in a CIM context is described by the non-abstract CIM_Check sub classes. The results of the method are based on the return value. - A 0 (zero) is returned if the condition is satisfied. - A 1 (one) is returned if the method is not supported. - Any other value indicates the condition is not satisfied. '
' The CheckMode property is used to indicate whether the condition is expected to exist or not exist in the environment. When the value is True, the condition is expected to exist (e.g., a file is expected to be on a system) so invoke() is expected to return True. When the value is False, the condition is not expect to exist (e.g., a file is not to be on a system) so invoke is expected to return false '
' The CIM_SwapSpaceCheck class specifies the amount of swap space that needs to be available on the system. The amount is specified in the SwapSpaceSize property. The details of this checks are compared with the corresponding details found in a CIM_OperatingSystem object referenced by CIM_InstalledOS association for the CIM_ComputerSystem object describing the environment. When the value of TotalSwapSpaceSize property is greater than or equal to the value specified in SwapSpacesize, the condition is satisfied. '