Click or drag to resize

CounterCmdFlags Enumeration

Flags for the counter command.

Namespace:  Perforce.P4
Assembly:  p4api.net (in p4api.net.dll) Version: 2023.2.258.5793
Syntax
[FlagsAttribute]
public enum CounterCmdFlags
Members
  Member nameValueDescription
None0 No flags.
Set1 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.
Delete2 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.
Increment4 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