CounterCmdFlags Enumeration
|
Flags for the counter command.
Namespace:
Perforce.P4
Assembly:
p4api.net (in p4api.net.dll) Version: 2024.2.269.3570
Syntax [FlagsAttribute]
public enum CounterCmdFlags
<FlagsAttribute>
Public Enumeration CounterCmdFlags
[FlagsAttribute]
public enum class CounterCmdFlags
[<FlagsAttribute>]
type 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.
|
See Also