次の方法で共有


IFsrmRule.ModuleDefinitionName Property

 

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

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

Syntax

string ModuleDefinitionName { get; set; }
property String^ ModuleDefinitionName {
    String^ get();
    void set(String^ value);
}
abstract ModuleDefinitionName : string with get, set
Property ModuleDefinitionName As String

Property Value

Type: System.String

A String that contains the name of the module definition that you want to run this rule.

Remarks

FSRM provides a built-in classifier module named, Folder Classifier. The Folder Classifier classifies files based on their location (in which folder they are located). This classifier looks at the current path of the file and matches it with the path specified in the namespace roots of the classification rule. If the path is within the scope of the rule's namespace roots, then FSRM applies the rule to the file.

To get a list of modules that have been registered with FSRM, call the EnumModuleDefinitions method. To access a module's name, use the Name property.

See Also

IFsrmRule Interface
Microsoft.Storage Namespace

Return to top