IFsrmReportScheduler::VerifyNamespaces method (fsrmreports.h)

[Starting with Windows Server 2012 this method is not supported; use the MSFT_FSRMScheduledTask WMI class to manage scheduled tasks.]

Verifies that the specified local directory paths that are used as the source for the reports are valid.

Syntax

HRESULT VerifyNamespaces(
  [in] VARIANT *namespacesSafeArray
);

Parameters

[in] namespacesSafeArray

A VARIANT that contains a SAFEARRAY of local directory paths. Each element of the array is a variant of type VT_BSTR. Use the bstrVal member of the variant to set the path.

Return value

The method returns the following return values.

Remarks

If the paths are valid, you can use them when calling the IFsrmReportScheduler::CreateScheduleTask method.

The paths are valid if:

  • All paths in the array are on NTFS volumes.
  • All paths in the array are on volumes that are online accessible.
  • For clusters, all paths are on volumes that are in the same failover group.
If one of the paths fails to validate, there is no indication of which path failed. To determine which path failed, you need to call this method for each path separately. For clusters, if all paths validate, you need to verify the cluster groups using the cluster APIs.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008
Target Platform Windows
Header fsrmreports.h (include FsrmReports.h, FsrmTlb.h)
DLL SrmSvc.dll

See also

FsrmReportScheduler

IFsrmReportScheduler