Windows Dev Center

IFsrmFileGroup::Name property

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

Retrieves or sets the name of the file group.

This property is read/write.

Syntax


HRESULT put_Name(
  [in]  BSTR name
);

HRESULT get_Name(
  [out] BSTR *name
);

Property value

A unique name for the file group. The string is limited to 4,000 characters and cannot contain commas, single quotes, double quotes, or vertical bars.

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success.

E_POINTER

The name parameter cannot be NULL on input.

E_INVALIDARG

The name parameter contains non-valid characters.

FSRM_E_OUT_OF_RANGE

The name is too long.

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

IID

IID_IFsrmFileGroup is defined as 8dd04909-0e34-4d55-afaa-89e1f1a1bbb9

See also

IFsrmFileGroup
MSFT_FSRMFileGroup

 

 

Show:
© 2015 Microsoft