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

Retrieves the specified file group from FSRM.

Syntax


HRESULT GetFileGroup(
  [in]   BSTR           name,
  [out]  IFsrmFileGroup **fileGroup
);

Parameters

name [in]

The name of the file group to retrieve. The string is limited to 4,000 characters.

fileGroup [out]

An IFsrmFileGroup interface to the retrieved file group.

Return value

The method returns the following return values.

Return codeDescription
S_OK

Success

E_INVALIDARG

The fileGroup parameter is NULL.

FSRM_E_NOT_FOUND

The specified file group was not found.

FSRM_E_OUT_OF_RANGE

The specified name is too long.

FSRM_E_INVALID_NAME

The specified name is empty or NULL.

 

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