Windows Dev Center

IFsrmCollection::WaitForCompletion method

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

waitSeconds [in]

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

completed [out]

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

Fsrm.h (include FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmCollection is defined as:
  • f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8
  • f76fbf3b-8ddd-4b42-b05a-cb1c3ff1fee8

See also

IFsrmCollection

 

 

Show:
© 2015 Microsoft