IFsrmReportJob::LastGeneratedInDirectory property

Retrieves the local directory path where the reports were stored the last time the reports were run.

This property is read-only.

Syntax


HRESULT get_LastGeneratedInDirectory(
  [out]  BSTR path
);

Property value

The local directory path. The string is empty if the report job has not been previously run.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

Remarks

If the reports failed, this is the path where the reports would have been stored. The directory may contain reports that completed successfully before the failure occurred.

Examples

For an example, see Running a Report Job.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmReports.h

DLL

SrmSvc.dll

IID

IID_IFsrmReportJob is defined as 38e87280-715c-4c7d-a280-ea1651a19fef

See also

IFsrmReportJob
IFsrmReportManager::SetOutputDirectory

 

 

Show:
© 2014 Microsoft