Flags for the counter command.
Namespace: Perforce.P4Assembly: p4api.net (in p4api.net.dll) Version: 2017.3.160.836 (2017.3.160.0836)
Syntax
| C# |
|---|
[FlagsAttribute] public enum CounterCmdFlags |
| Visual Basic |
|---|
<FlagsAttribute> _ Public Enumeration CounterCmdFlags |
| Visual C++ |
|---|
[FlagsAttribute] public enum class CounterCmdFlags |
Members
| Member name | Value | Description | |
|---|---|---|---|
| None | 0 | No flags. | |
| Set | 1 | The -f flag sets or deletes counters used by Perforce, which are listed by 'p4 help counters'. Important: Never set the 'change' counter to a value that is lower than its current value. | |
| Delete | 2 | The -d flag deletes counters used by Perforce, which are listed by 'p4 help counters'. Important: Never set the 'change' counter to a value that is lower than its current value. must be used with -f. | |
| Increment | 4 | The -i flag increments a counter by 1 and returns the new value. This option is used instead of a value argument and can only be used with numeric counters. |