IPerformanceCounterDataCollector::put_SegmentMaxRecords method (pla.h)

Retrieves or sets the maximum number of samples to log.

This property is read/write.

Syntax

HRESULT put_SegmentMaxRecords(
  unsigned long records
);

Parameters

records

Return value

None

Remarks

When the maximum number of samples is reached, PLA switches to a new log file and continues logging if the IDataCollectorSet::Segment property is VARIANT_TRUE; otherwise, PLA stops logging.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header pla.h
DLL Pla.dll

See also

IPerformanceCounterDataCollector