Wait method of the MSFT_FSRMFileManagementJob class

Waits for the specified period of time or until the file management job has finished running.

Syntax

uint64 Wait(
  [in]  sint32                     Timeout,
  [out] MSFT_FSRMFileManagementJob FileManagementJob
);

Parameters

Timeout [in]

The number of seconds to wait for the file management job to complete. The method returns when the period expires or the file management job completes. To wait indefinitely, set the value to 1. The value must be in the range from 1 through 2,147,483.

FileManagementJob [out]

An instance of the MSFT_FSRMFileManagementJob class that represents the file management job.

Requirements

Minimum supported client
None supported
Minimum supported server
Windows Server 2012
Namespace
Root\Microsoft\Windows\FSRM
MOF
MSFT_FSRM.mof
DLL
SrmSvc.dll

See also

MSFT_FSRMFileManagementJob