다음을 통해 공유


IFsrmClassificationRule Interface

 

Defines a classification rule. The rule defines the paths to which the rule applies, the classifier module to run on files in those paths, and the property and property value used to classify each file.

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

Syntax

[GuidAttribute("AFC052C2-5315-45AB-841B-C6DB0E120148")]
public interface IFsrmClassificationRule : IFsrmRule
[GuidAttribute("AFC052C2-5315-45AB-841B-C6DB0E120148")]
public interface class IFsrmClassificationRule : IFsrmRule
[<GuidAttribute("AFC052C2-5315-45AB-841B-C6DB0E120148")>]
type IFsrmClassificationRule = 
    interface
        interface IFsrmRule
    end
<GuidAttribute("AFC052C2-5315-45AB-841B-C6DB0E120148")>
Public Interface IFsrmClassificationRule
    Inherits IFsrmRule

Properties

Name Description
System_CAPS_pubproperty Description

Gets and sets the Description property.

System_CAPS_pubproperty ExecutionOption

Determines how to apply the rule to the file.

System_CAPS_pubproperty id

Gets the id property.

System_CAPS_pubproperty LastModified

Gets the LastModified property.

System_CAPS_pubproperty ModuleDefinitionName

Gets and sets the ModuleDefinitionName property.

System_CAPS_pubproperty Name

Gets and sets the Name property.

System_CAPS_pubproperty NamespaceRoots

Gets and sets the NamespaceRoots property.

System_CAPS_pubproperty Parameters

Gets and sets the Parameters property.

System_CAPS_pubproperty PropertyAffected

Sets or retrieves the name of the property that this rule affects.

System_CAPS_pubproperty RuleFlags

Gets and sets the RuleFlags property.

System_CAPS_pubproperty RuleType

Gets the RuleType property.

System_CAPS_pubproperty Value

Sets or retrieves the value that this rule will set the property to.

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

To create a classification rule, call the CreateRule method.

The following methods can return this interface:

See Also

IFsrmRule
Microsoft.Storage Namespace

Return to top