Flags for the counter command.

Namespace: Perforce.P4
Assembly: p4api.net (in p4api.net.dll) Version: 2015.1.103.4687 (2015.1.103.4687)

Syntax

C#
[FlagsAttribute]
public enum CounterCmdFlags
Visual Basic
<FlagsAttribute> _
Public Enumeration CounterCmdFlags
Visual C++
[FlagsAttribute]
public enum class 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