IFsrmRule interface

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.

Members

The IFsrmRule interface inherits from IFsrmObject. IFsrmRule also has these types of members:

Properties

The IFsrmRule interface has these properties.

PropertyAccess typeDescription

LastModified

Read-only

The date for the last time the rule was modified.

ModuleDefinitionName

Read/write

The name of the module definition that the rule uses during classification.

Name

Read/write

The name of the rule.

NamespaceRoots

Read/write

An array of local directory paths that the rule is applied to when classification is run.

Parameters

Read/write

The parameters that are passed to the classifier.

RuleFlags

Read/write

The flags that define the state of the rule.

RuleType

Read-only

The type of the rule.

 

Remarks

The name and rule type properties define a unique rule.

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmRule is defined as cb0df960-16f5-4495-9079-3f9360d831df

See also

IFsrmClassificationRule

 

 

Show:
© 2014 Microsoft