Click or drag to resize
PMRuleCreateRule 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#
public static PMRule CreateRule(
	string name,
	PMRuleRuleLogic logic,
	PMAction action
)

Parameters

name
Type: SystemString
Friendly name of rules for administrators and end users
logic
Type: PM90SettingsAPI.RestrictionsPMRuleRuleLogic
How the restrictions will be applied
action
Type: PM90SettingsAPI.ActionsPMAction
The action to take when the rule is met

Return Value

Type: PMRule
new PMRule object
See Also