3.2.4.1.3 Duration (Put) (Opnum 9)

The Duration (Put) method sets the Duration property.

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

seconds: Supplies the maximum number of seconds for which the data collector set MUST run. If zero, the data collector set MUST NOT be stopped automatically. The default is 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.