3.2.4.1.23 SegmentMaxSize (Put) (Opnum 29)

The SegmentMaxSize (Put) method sets the SegmentMaxSize property, as specified in the property table in section 3.2.4.1.

 [propput] HRESULT SegmentMaxSize(
   [in] unsigned long size
 );

size: Supplies the maximum log file size, in MB, for the data collector set. The valid range is from 0x00000000 to 0xFFFFFFFF inclusive. The Performance Logs and Alerts Protocol SHOULD NOT<15> stop the data collector set when the size of the active log file reaches SegmentMaxSize; it creates a new file to enable the data collector set to continue logging information.

Return Values: This method MUST return an HRESULT with the severity bit clear on success as specified in [MS-ERREF]; otherwise, it MUST return one of the errors as defined in section 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.