Windows Dev Center

CommitMode enumeration

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

Syntax


typedef enum  { 
  plaCreateNew              = 0x0001,
  plaModify                 = 0x0002,
  plaCreateOrModify         = 0x0003,
  plaUpdateRunningInstance  = 0x0010,
  plaFlushTrace             = 0x0020,
  plaValidateOnly           = 0x1000
} CommitMode;

Constants

plaCreateNew

Save the set. The set must not already exist.

The set is not saved if it is a trace session.

plaModify

Update a previously saved set.

plaCreateOrModify

Save the set. If the set already exists, update the set.

The set is not saved if it is a trace session.

plaUpdateRunningInstance

Apply the updated property values to the currently running data set.

plaFlushTrace

Flush the buffers for an Event Tracing for Windows trace session. This action applies only to sets that contain trace data collectors.

plaValidateOnly

Perform validation only on the set.

Remarks

All commit modes validate the set.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

See also

IDataCollectorSet::Commit

 

 

Community Additions

ADD
Show:
© 2015 Microsoft