IFsrmReportManager.SetOutputDirectory Method (_FsrmReportGenerationContext, String)
Sets the local directory path where reports are stored.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
void SetOutputDirectory(
_FsrmReportGenerationContext context,
string Path
)
void SetOutputDirectory(
_FsrmReportGenerationContext context,
String^ Path
)
abstract SetOutputDirectory :
context:_FsrmReportGenerationContext *
Path:string -> unit
Sub SetOutputDirectory (
context As _FsrmReportGenerationContext,
Path As String
)
Parameters
context
Type: Microsoft.Storage._FsrmReportGenerationContextThe report context (for example, if the report is scheduled or runs on demand). For possible values, see the _FsrmReportGenerationContextenumeration.
Path
Type: System.StringThe full path to the local directory where the reports are stored. The path can contain environment variables. The path is limited to 150 characters.
Remarks
The reports are stored in the following folders under the given path.
Context |
Folder |
---|---|
FsrmReportGenerationContext_ScheduledReport |
Scheduled |
FsrmReportGenerationContext_InteractiveReport |
Interactive |
FsrmReportGenerationContext_IncidentReport |
Incident |
For example, if path is set to "C:\StorageReports" and context is set to FsrmReportGenerationContext_ScheduledReport, the path for the scheduled reports would be "C:\StorageReports\Scheduled".
The default output directories are:
"%systemdrive%\StorageReports\Scheduled"
"%systemdrive%\StorageReports\Incident"
"%systemdrive%\StorageReports\Interactive"
See Also
FsrmReportManager
IFsrmReportManager Interface
Microsoft.Storage Namespace
Return to top