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 | |
---|---|---|
Description | Gets and sets the Description property. |
|
ExecutionOption | Determines how to apply the rule to the file. |
|
id | Gets the id property. |
|
LastModified | Gets the LastModified property. |
|
ModuleDefinitionName | Gets and sets the ModuleDefinitionName property. |
|
Name | Gets and sets the Name property. |
|
NamespaceRoots | Gets and sets the NamespaceRoots property. |
|
Parameters | Gets and sets the Parameters property. |
|
PropertyAffected | Sets or retrieves the name of the property that this rule affects. |
|
RuleFlags | Gets and sets the RuleFlags property. |
|
RuleType | Gets the RuleType property. |
|
Value | Sets or retrieves the value that this rule will set the property to. |
Methods
Name | Description | |
---|---|---|
Commit() | Saves the rule object in the server's list of objects. |
|
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