IFsrmPropertyDefinition::Name property

The name of the property.

This property is read/write.

Syntax


HRESULT put_Name(
  [in]   BSTR name
);

HRESULT get_Name(
  [out]  BSTR *pName
);

Property value

The name of the property. The name must be unique and is limited to 100 characters. The name cannot contain the following: comma (,), single quote ('), double quote ("), or vertical bar (|).

Error codes

The method returns the following return values.

NameMeaning
S_OK

Success

E_INVALIDARG

Returned for any of the following reasons:

  • The name is too long.
  • The name does not contain at least one non-white space character.
  • The name string value contains a character that is not valid.
FSRM_E_CANNOT_RENAME_PROPERTY

A "put" operation was attempted after the name was already set.

Remarks

You cannot change the name after you commit the definition.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmPropertyDefinition is defined as ede0150f-e9a3-419c-877c-01fe5d24c5d3

See also

IFsrmPropertyDefinition
IFsrmClassificationRule.PropertyAffected
IFsrmProperty.Name

 

 

Show:
© 2014 Microsoft. All rights reserved.