IFsrmRule Interface

 

Defines a rule.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

[GuidAttribute("CB0DF960-16F5-4495-9079-3F9360D831DF")]
public interface IFsrmRule : IFsrmObject
[GuidAttribute("CB0DF960-16F5-4495-9079-3F9360D831DF")]
public interface class IFsrmRule : IFsrmObject
[<GuidAttribute("CB0DF960-16F5-4495-9079-3F9360D831DF")>]
type IFsrmRule = 
    interface
        interface IFsrmObject
    end
<GuidAttribute("CB0DF960-16F5-4495-9079-3F9360D831DF")>
Public Interface IFsrmRule
    Inherits IFsrmObject

Properties

Name Description
System_CAPS_pubproperty Description

Retrieves or sets the description of the object.

System_CAPS_pubproperty id

Gets the id property.

System_CAPS_pubproperty LastModified

Retrieves the date for the last time the rule was modified.

System_CAPS_pubproperty ModuleDefinitionName

Gets or retrieves the name of the module definition that you want to run this rule.

System_CAPS_pubproperty Name

Gets and retrieves the name of the rule.

System_CAPS_pubproperty NamespaceRoots

Gets or sets an array of directory paths that the rule is applied to when classification is run

System_CAPS_pubproperty Parameters

Gets or sets the parameters that are passed to the classifier.

System_CAPS_pubproperty RuleFlags

Gets or sets the flags that define the state of the rule.

System_CAPS_pubproperty RuleType

Gets the type of rule.

Methods

Name Description
System_CAPS_pubmethod Commit()

Saves the rule object in the server's list of objects.

System_CAPS_pubmethod Delete()

Removes the rule object from the server's list of objects.

Remarks

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.

See Also

IFsrmClassificationRule
Microsoft.Storage Namespace

Return to top