3.2.4.2.42.5 PropertyAffected (put) (Opnum 27)

The PropertyAffected (put) method sets the property affected property of the rule and returns S_OK upon successful completion.

 [propput, id(FSRM_PROPERTY(FSRM_DISPID_CLASSIFICATION_RULE | 0x02))] HRESULT PropertyAffected(
   [in] BSTR property
 );

property: Contains the property affected property of the rule.

Return Values: The method MUST return zero on success, or a nonzero error code on failure.

Return value/code

Description

0x80070057

E_INVALIDARG

The specified property is not the name of a property definition that is currently configured on the server, or is NULL.

Upon receiving this message, the server MUST validate parameters:

  • Verify that property contains the name of a property definition currently configured on the server.

If any validation fails, the server MUST terminate processing and return a nonzero error code.

The server MUST perform the following:

  • If the property definition with the same Name as property has its Property definition.Deprecated set to true, the server MUST set Rule.Deprecated to true. Otherwise, it MUST set Rule.Deprecated to false.

Set property affected to property.