Export (0) Print
Expand All

MSFT_FSRMClassificationRule class

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.

To create a classification rule, call the IFsrmClassificationManager::CreateRule method.

Syntax

class MSFT_FSRMClassificationRule
{
  string   Name;
  string   Description;
  boolean  Disabled;
  string   Property;
  string   PropertyValue;
  string   Namespace[];
  uint32   ReevaluateProperty;
  string   ClassificationMechanism;
  string   Parameters[];
  datetime LastModified;
  uint32   Flags[];
};

Members

The MSFT_FSRMClassificationRule class has these types of members:

Properties

The MSFT_FSRMClassificationRule class has these properties.

ClassificationMechanism
Data type: string
Access type: Read/write

The name of a valid classification mechanism available on the server. Required. The value must be under 1KB.

Description
Data type: string
Access type: Read/write

A string up to 1KB in size. Optional. The default value is an empty string.

Disabled
Data type: boolean
Access type: Read/write

Defines whether the rule is enabled or disabled. The default value is false.

Flags
Data type: uint32 array
Access type: Read-only

Array of flags describing the rule.

ValueMeaning
Deprecated
4096

The rule is deprecated.

 

LastModified
Data type: datetime
Access type: Read-only

The date for the last time the rule was modified.

Name
Data type: string
Access type: Read/write
Qualifiers: Key

A unique string up to 100 characters in length. Required.

Namespace
Data type: string array
Access type: Read/write

A list of valid local folder paths on the server. Each string is not to exceed the MAX_PATHvalue. Can be valid values for the FolderUsage classification property. If providing FolderUsage properties, the format "[FolderUsage_MS=value]" must be used. The default value is an empty list.

Parameters
Data type: string array
Access type: Read/write

A list of strings formatted as "<name>=<value>", as accepted by the COM API for rule parameters. Optional. The default value is an empty list.

Property
Data type: string
Access type: Read/write

The name of a valid classification property that is available on the server. The value is required and limited to a size of 1KB.

PropertyValue
Data type: string
Access type: Read/write

The value to which the property is set upon successful classification. The value is optional and limited to a size of 4 KB. The default value is an empty string.

ReevaluateProperty
Data type: uint32
Access type: Read/write

Sets the evaluation policy of the rule. Optional.

ValueMeaning
Never
1

The rule is applied as a default value to the file if the property is not set on the file (if none of the storage modules returns the property). if the property is set on the file the rule is not reevaluated.

Overwrite
2

The rule is applied to the file but default and existing values are ignored.

Aggregate
3

The rule is applied to the file considering default and existing values using aggregation rules.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2012

Namespace

\\.\Root\Microsoft\Windows\FSRM

MOF

MSFT_FSRM.mof

See also

FSRM WMI Classes

 

 

Show:
© 2014 Microsoft