3.2.4.1.2 Duration (Get) (Opnum 8)

The Duration (Get) method retrieves the Duration property.

 [propget] HRESULT Duration(
   [out, retval] unsigned long* seconds
 );

seconds: Receives the maximum number of seconds for which the data collector set MUST run.

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.