PMTitleRestrictionEnable Method |
Enables restriction and requires a maximum byte size
Namespace: PM90SettingsAPI.RestrictionsAssembly: PM90SettingsAPI (in PM90SettingsAPI.dll) Version: 9.0.23.534 (9.0.23.534)
Syntax public void Enable(
string[] titles,
PMRestrictionListType type = PMRestrictionListType.BlackList,
PMAction overrideAction = null
)
Parameters
- titles
- Type: SystemString
Array of strings any of which found anywhere in the job title will be considered a match. - type (Optional)
- Type: PM90SettingsAPI.RestrictionsPMRestrictionListType
Whether or not titles are a whitelist or blacklist - overrideAction (Optional)
- Type: PM90SettingsAPI.ActionsPMAction
A custom action to take for this restriction on this object. If null the default action will be used.
Exceptions See Also