IFsrmFileGroupManager::ExportFileGroups 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.]

Exports the specified file groups as an XML string.

Syntax

HRESULT ExportFileGroups(
  [in]  VARIANT *fileGroupNamesArray,
  [out] BSTR    *serializedFileGroups
);

Parameters

[in] fileGroupNamesArray

A VARIANT that contains a SAFEARRAY of the names of the file groups to export. If NULL, the method exports all file groups.

[out] serializedFileGroups

The specified file groups in XML format.

Return value

The method returns the following return values.

Remarks

Typically, you use this method to save the file groups information to a file. You can then copy the file to another computer and call the IFsrmFileGroupManager::ImportFileGroups method to import the file groups.

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