Print Manager Plus 9.x API Documentation
Print Manager Plus 9.x API Documentation
PMP
PM90SettingsAPI.Restrictions
PMRule Class
PMRule Methods
CreateRule Method
GetRules Method
Save Method
PMRule
CreateRule Method
Creates a new empty rule. Before a rule can be saved it must have one or more restriction criteria set
Namespace:
PM90SettingsAPI.Restrictions
Assembly:
PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax
C#
Copy
public
static
PMRule
CreateRule
(
string
name
,
PMRule
RuleLogic
logic
,
PMAction
action
)
Parameters
name
Type:
System
String
Friendly name of rules for administrators and end users
logic
Type:
PM90SettingsAPI.Restrictions
PMRule
RuleLogic
How the restrictions will be applied
action
Type:
PM90SettingsAPI.Actions
PMAction
The action to take when the rule is met
Return Value
Type:
PMRule
new PMRule object
See Also
Reference
PMRule Class
PM90SettingsAPI.Restrictions Namespace