Windows Dev Center

IFsrmFileGroupManager::EnumFileGroups method

[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

options [in]

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

fileGroups [out]

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.

Return codeDescription
S_OK

Success

E_INVALIDARG

The fileGroups parameter is NULL.

FSRM_E_NOT_SUPPORTED

The FsrmEnumOptions_Asynchronous option is not supported.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008

Header

FsrmScreen.h

DLL

SrmSvc.dll

CLSID

CLSID_FsrmFileGroupManager is defined as 8f1363f6-656f-4496-9226-13aecbd7718f

IID

IID_IFsrmFileGroupManager is defined as 426677d5-018c-485c-8a51-20b86d00bdc4

See also

IFsrmFileGroupManager
FsrmFileGroupManager
MSFT_FSRMFileGroup

 

 

Show:
© 2015 Microsoft