IFsrmCollection::WaitForCompletion method (fsrm.h)

Limits the time that an asynchronous collection can take to collect the objects.

Note  Asynchronous collections are not supported by FSRM, therefore this method always sets the completed parameter to VARIANT_TRUE.

 

Syntax

HRESULT WaitForCompletion(
  [in]  long         waitSeconds,
  [out] VARIANT_BOOL *completed
);

Parameters

[in] waitSeconds

The number of seconds to wait for the collection to finish collecting objects. To wait indefinitely, set this parameter to –1.

[out] completed

Is VARIANT_TRUE if the collection finished collecting objects in the time specified; otherwise, VARIANT_FALSE.

Return value

This method is not supported and always returns S_OK.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrm.h (include FsrmQuota.h, FsrmReports.h, FsrmScreen.h)
DLL SrmSvc.dll

See also

IFsrmCollection