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

Creates a file group object.

Syntax


HRESULT CreateFileGroup(
  [out]  IFsrmFileGroup **fileGroup
);

Parameters

fileGroup [out]

An IFsrmFileGroup interface to the new file group. To add the file group to FSRM, call IFsrmFileGroup::Commit method.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success.

E_INVALIDARG

The fileGroup parameter is NULL.

 

Examples

For an example, see Creating File Groups to Specify the Files to Restrict.

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:
© 2014 Microsoft