---
UID: NF:fsrmreports.IFsrmFileManagementJob.get_LastRun
title: IFsrmFileManagementJob::get_LastRun (fsrmreports.h)
description: The last time the file management job was run.
old-location: fsrm\ifsrmfilemanagementjob_lastrun.htm
tech.root: fsrm
ms.assetid: 07559b06-4744-466a-a8b0-e907eff7227d
ms.date: 12/05/2018
ms.keywords: IFsrmFileManagementJob interface [File Server Resource Manager],LastRun property, IFsrmFileManagementJob.LastRun, IFsrmFileManagementJob.get_LastRun, IFsrmFileManagementJob::LastRun, IFsrmFileManagementJob::get_LastRun, LastRun property [File Server Resource Manager], LastRun property [File Server Resource Manager],IFsrmFileManagementJob interface, fs.ifsrmfilemanagementjob_lastrun, fsrm.ifsrmfilemanagementjob_lastrun, fsrmreports/IFsrmFileManagementJob::LastRun, fsrmreports/IFsrmFileManagementJob::get_LastRun, get_LastRun
f1_keywords:
- fsrmreports/IFsrmFileManagementJob.LastRun
dev_langs:
- c++
req.header: fsrmreports.h
req.include-header: 
req.target-type: Windows
req.target-min-winverclnt: None supported
req.target-min-winversvr: Windows Server 2008 R2
req.kmdf-ver: 
req.umdf-ver: 
req.ddi-compliance: 
req.unicode-ansi: 
req.idl: 
req.max-support: 
req.namespace: 
req.assembly: 
req.type-library: 
req.lib: 
req.dll: SrmSvc.dll
req.irql: 
topic_type:
- APIRef
- kbSyntax
api_type:
- COM
api_location:
- SrmSvc.dll
api_name:
- IFsrmFileManagementJob.LastRun
- IFsrmFileManagementJob.get_LastRun
targetos: Windows
req.typenames: 
req.redist: 
ms.custom: 19H1
---

# IFsrmFileManagementJob::get_LastRun


## -description


<p class="CCE_Message">[This property is supported for compatibility but it's recommended to use the 
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/fsrm-wmi-classes">FSRM WMI Classes</a> to manage FSRM. Please see the 
    <a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmfilemanagementjob">MSFT_FSRMFileManagementJob</a> class.]

The last time the file management job was run.

This property is read-only.


## -parameters


## -see-also




<a href="https://docs.microsoft.com/previous-versions/windows/desktop/api/fsrmreports/nn-fsrmreports-ifsrmfilemanagementjob">IFsrmFileManagementJob</a>



<a href="https://docs.microsoft.com/previous-versions/windows/desktop/fsrm/msft-fsrmfilemanagementjob">MSFT_FSRMFileManagementJob</a>
 

 

