CommitMode enumeration (pla.h)

Defines the action to take when committing changes to the data collector set.

Syntax

typedef enum __MIDL___MIDL_itf_pla_0001_0043_0007 {
  plaCreateNew = 0x1,
  plaModify = 0x2,
  plaCreateOrModify = 0x3,
  plaUpdateRunningInstance = 0x10,
  plaFlushTrace = 0x20,
  plaValidateOnly = 0x1000
} CommitMode;

Constants

 
plaCreateNew
Value: 0x1
Save the set. The set must not already exist.

The set is not saved if it is a trace session.
plaModify
Value: 0x2
Update a previously saved set.
plaCreateOrModify
Value: 0x3
Save the set. If the set already exists, update the set.

The set is not saved if it is a trace session.
plaUpdateRunningInstance
Value: 0x10
Apply the updated property values to the currently running data set.
plaFlushTrace
Value: 0x20
Flush the buffers for an Event Tracing for Windows trace session. This action applies only to sets that contain trace data collectors.
plaValidateOnly
Value: 0x1000
Perform validation only on the set.

Remarks

All commit modes validate the set.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Header pla.h

See also

IDataCollectorSet::Commit