|
int TrafficManager::UpdateRestriction |
( |
int |
nRestrictionId, |
|
|
params |
pRestriction |
|
) |
| |
Modify existing traffic restriction settings.
- Parameters:
-
[in] | nRestrictionId | restriction to modify. If restriction with such id does not exist then new restriction will be added and this parameters will be ignored. |
[in] | pRestriction | new restriction settings, see Traffic restrictions for details and attributes meaning |
- Returns:
- (int) modified restriction id. If restriction did not exist before call then newly created restriction id.
|