IFsrmReportJob::get_NamespaceRoots method (fsrmreports.h)

Retrieves or sets an array of local directory paths that will be scanned when the report job is run.

This property is read/write.

Syntax

HRESULT get_NamespaceRoots(
  SAFEARRAY **namespaceRoots
);

Parameters

namespaceRoots

Return value

None

Remarks

All subdirectories under the specified path are also scanned (recursively).

If you schedule this job, specify the same namespaces when calling the IFsrmReportScheduler::CreateScheduleTask method.

This property calls the IFsrmReportScheduler::VerifyNamespaces method to validate the paths. For validation details, see the Remarks section of VerifyNamespaces.

Note that FSRM supports only NTFS file systems—you cannot specify paths on ReFS, FAT, FAT32, UDF, or other non-NTFS file system.

Examples

For an example, see Defining a Report Job.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmreports.h
DLL SrmSvc.dll

See also

IFsrmReportJob