IFsrmRule interface (fsrmpipeline.h)

Defines a rule.

To create a rule, call the IFsrmClassificationManager::CreateRule method.

The following methods return this interface:

This is the base class for rule interfaces. Query this interface to get the interface for the rule type specified in the RuleType property. For example, if RuleType is FsrmRuleType_Classification, query this interface for the IFsrmClassificationRule interface.

Inheritance

The IFsrmRule interface inherits from the IFsrmObject interface.

Methods

The IFsrmRule interface has these methods.

 
IFsrmRule::get_LastModified

The date for the last time the rule was modified.
IFsrmRule::get_ModuleDefinitionName

The name of the module definition that you want to run this rule. (Get)
IFsrmRule::get_Name

The name of the rule. (Get)
IFsrmRule::get_NamespaceRoots

An array of directory paths that the rule is applied to when classification is run. (Get)
IFsrmRule::get_Parameters

The parameters that are passed to the classifier. (Get)
IFsrmRule::get_RuleFlags

The flags that define the state of the rule. (Get)
IFsrmRule::get_RuleType

The type of the rule.
IFsrmRule::put_ModuleDefinitionName

The name of the module definition that you want to run this rule. (Put)
IFsrmRule::put_Name

The name of the rule. (Put)
IFsrmRule::put_NamespaceRoots

An array of directory paths that the rule is applied to when classification is run. (Put)
IFsrmRule::put_Parameters

The parameters that are passed to the classifier. (Put)
IFsrmRule::put_RuleFlags

The flags that define the state of the rule. (Put)

Remarks

The name and rule type properties define a unique rule.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h)

See also

IFsrmClassificationRule

IFsrmObject