IDataCollectorSet::get_SegmentMaxDuration method (pla.h)

Retrieves or sets the duration that the data collector set can run before it begins writing to new log files.

This property is read/write.

Syntax

HRESULT get_SegmentMaxDuration(
  unsigned long *seconds
);

Parameters

seconds

Return value

None

Remarks

You must enable the IDataCollectorSet::Segment property for this property to take effect.

This duration needs to be less than the IDataCollectorSet::Duration or ISchedule::EndDate property.

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

IDataCollectorSet

IDataCollectorSet::Duration

IDataCollectorSet::Segment

IDataCollectorSet::SegmentMaxSize