IFsrmClassifierModuleImplementation::UseRulesAndDefinitions method

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

rules [in]

Type: IFsrmCollection*

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

propertyDefinitions [in]

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.

Return code/valueDescription
S_OK
0

Success.

E_INVALIDARG
0x80070057

One or more of the parameters passed in the rules or propertyDefinitions parameter is not valid. The client application will receive a FSRM_E_MODULE_INVALID_PARAM error.

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

 

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

DLL

SrmSvc.dll

IID

IID_IFsrmClassifierModuleImplementation is defined as 4c968fc6-6edb-4051-9c18-73b7291ae106

See also

IFsrmClassifierModuleImplementation
IFsrmCollection

 

 

Show:
© 2014 Microsoft