Condividi tramite


Start method of the MSFT_FSRMFileManagementJob class

Starts the file management job.

Syntax

uint64 Start(
  [in]  boolean                    Queue,
  [in]  sint32                     RunDuration,
  [out] MSFT_FSRMFileManagementJob FileManagementJob
);

Parameters

Queue [in]

Indicates whether the file management job should be added to a queue and is expected to run in the next 5 minutes. Any jobs queued during that 5 minute window will be run together. If False the file management job will be executed immediately.

RunDuration [in]

Indicates how many hours to run the file management job before it will be automatically canceled. If 0 then the file management job will run to completion.

FileManagementJob [out]

Returns a MSFT_FSRMFileManagementJob instance representing 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