IFsrmClassifierModuleImplementation::UseRulesAndDefinitions method (fsrmpipeline.h)

Specifies the collection of rules and relevant property definitions the classifier should expect to process.

Syntax

HRESULT UseRulesAndDefinitions(
  [in] IFsrmCollection *rules,
  [in] IFsrmCollection *propertyDefinitions
);

Parameters

[in] rules

Type: IFsrmCollection*

An IFsrmCollection instance representing a collection of rules that will be used during the current classification session.

[in] propertyDefinitions

Type: IFsrmCollection*

An IFsrmCollection instance representing a collection of property definitions that are referenced by the specified collection of rules.

Return value

Type: HRESULT

The method returns the following return values.

Other values will result in the client application receiving a FSRM_E_MODULE_SESSION_INITIALIZATION error.

Windows Server 2008 R2:  The client application will receive a FSRM_E_UNEXPECTED error.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h
DLL SrmSvc.dll

See also

IFsrmClassifierModuleImplementation

IFsrmCollection