Click or drag to resize
PMJobCostRestriction Class
Represents an instance of a maximum cost per job
Inheritance Hierarchy
SystemObject
  PM90SettingsAPI.RestrictionsPMRestriction
    PM90SettingsAPI.RestrictionsPMJobCostRestriction

Namespace: PM90SettingsAPI.Restrictions
Assembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
public class PMJobCostRestriction : PMRestriction

The PMJobCostRestriction type exposes the following members.

Methods
  NameDescription
Public methodDisable
Deactivates restriction, and any associated actions or messages
(Inherited from PMRestriction.)
Public methodEnable
Enables this restriction
Public methodStatic memberSetDefaultRestriction
Sets the default restriction for this action
Top
Properties
  NameDescription
Public propertyDefaultAction
Gets the default action for this restriction type
(Inherited from PMRestriction.)
Public propertyStatic memberDefaultRestrictionAction
Retrieves the default action for this restriction
Public propertyEnabled
true if restriction is set on this object
(Inherited from PMRestriction.)
Public propertyJobCost
Current amount max cost is restricted to. Always 0 on no restriction enabled.
Public propertyOverrideAction
The action applied by this restriction, on its specific object (i.e. user, etc...) Value is null when using default action
(Inherited from PMRestriction.)
Public propertyOverridingDefaultAction
Indicates if the restriction has a custom action set for this object
(Inherited from PMRestriction.)
Public propertyType
Indicates which restriction this object represents
(Inherited from PMRestriction.)
Top
Remarks
When using pages balance, using Page Count restriction may be recommended.
See Also