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

  • Path
    Type: System.String

    The 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:

  1. "%systemdrive%\StorageReports\Scheduled"

  2. "%systemdrive%\StorageReports\Incident"

  3. "%systemdrive%\StorageReports\Interactive"

See Also

FsrmReportManager
IFsrmReportManager Interface
Microsoft.Storage Namespace

Return to top