Windows Dev Center

AutoPathFormat enumeration

Defines how to decorate the file name or subdirectory name.

Syntax


typedef enum  { 
  plaNone                = 0x0000,
  plaPattern             = 0x0001,
  plaComputer            = 0x0002,
  plaMonthDayHour        = 0x0100,
  plaSerialNumber        = 0x0200,
  plaYearDayOfYear       = 0x0400,
  plaYearMonth           = 0x0800,
  plaYearMonthDay        = 0x1000,
  plaYearMonthDayHour    = 0x2000,
  plaMonthDayHourMinute  = 0x4000
} AutoPathFormat;

Constants

plaNone

Do not decorate the name.

plaPattern

Add a pattern to the name. The pattern is specified in the IDataCollector::FileNameFormatPattern or IDataCollectorSet::SubdirectoryFormatPattern property.

plaComputer

Prefix the name with the computer name.

plaMonthDayHour

Append the month, day, and hour to the name, in the form MMddHH.

plaSerialNumber

Append the serial number specified in the IDataCollectorSet::SerialNumber property to the subdirectory name in the form NNNNNN.

plaYearDayOfYear

Append the year and day of the year to the name, in the form yyyyDDD.

plaYearMonth

Append the year and month to the name, in the form yyyyMM.

plaYearMonthDay

Append the year, month, and day to the name, in the form yyyyMMdd.

plaYearMonthDayHour

Append the year, month, day, and hour to the name, in the form yyyyMMddHH.

plaMonthDayHourMinute

Append the month, day, hour, and minute to the name, in the form MMddHHmm.

Remarks

Patterns apply to files and subdirectories in the same way.

For details on patterns, see the Remarks section of FileNameFormatPattern.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Pla.h

See also

IDataCollector::FileNameFormat
IDataCollectorSet::SubdirectoryFormat

 

 

Community Additions

ADD
Show:
© 2015 Microsoft