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 | |
---|---|---|
Description | Retrieves or sets the description of the object. |
|
id | Gets the id property. |
|
LastModified | Retrieves the date for the last time the rule was modified. |
|
ModuleDefinitionName | Gets or retrieves the name of the module definition that you want to run this rule. |
|
Name | Gets and retrieves the name of the rule. |
|
NamespaceRoots | Gets or sets an array of directory paths that the rule is applied to when classification is run |
|
Parameters | Gets or sets the parameters that are passed to the classifier. |
|
RuleFlags | Gets or sets the flags that define the state of the rule. |
|
RuleType | Gets the type of rule. |
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
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