3.2.4.1.21 SegmentMaxDuration (Put) (Opnum 27)

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

 [propput] HRESULT SegmentMaxDuration(
   [in] unsigned long seconds
 );

seconds: Supplies the duration, in seconds, that the data collector set can run before it triggers a segmentation. If zero, there is no duration. The default MUST be zero.

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 2.2.1 or one of the errors as defined in [MS-ERREF] section 2.1.