IFsrmFileGroupManager::EnumFileGroups method (fsrmscreen.h)

[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMFileGroup class.]

Enumerates the file groups in FSRM.

Syntax

HRESULT EnumFileGroups(
  [in]  FsrmEnumOptions            options,
  [out] IFsrmCommittableCollection **fileGroups
);

Parameters

[in] options

One or more options for enumerating the file groups. For possible values, see the FsrmEnumOptions enumeration.

[out] fileGroups

An IFsrmCommittableCollection interface that contains a collection of file groups. Each item of the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member of the variant for the IFsrmFileGroup interface.

The collection contains only committed file groups; the collection will not contain newly created file groups that have not been committed.

Return value

The method returns the following return values.

Requirements

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

See also

FsrmFileGroupManager

IFsrmFileGroupManager

MSFT_FSRMFileGroup