IFsrmPropertyDefinition interface

Defines a property that you want to use to classify files.

To create this interface, call the IFsrmClassificationManager::CreatePropertyDefinition method.

The following methods return this interface:

Methods

The IFsrmPropertyDefinition interface has these methods.

Method Description
IFsrmPropertyDefinition::get_Name The name of the property.
IFsrmPropertyDefinition::get_Parameters The parameters for the property definition.
IFsrmPropertyDefinition::get_PossibleValues The possible values to which the property can be set.
IFsrmPropertyDefinition::get_Type The type of data that the property contains.
IFsrmPropertyDefinition::get_ValueDescriptions Descriptions for each of the possible values specified in the PossibleValues property.
IFsrmPropertyDefinition::put_Name The name of the property.
IFsrmPropertyDefinition::put_Parameters The parameters for the property definition.
IFsrmPropertyDefinition::put_PossibleValues The possible values to which the property can be set.
IFsrmPropertyDefinition::put_Type The type of data that the property contains.
IFsrmPropertyDefinition::put_ValueDescriptions Descriptions for each of the possible values specified in the PossibleValues property.

Remarks

The name and type properties define a unique property; you cannot rename a property or change its type.

You cannot delete a property definition that is referenced by a classification rule or report. The classification rule uses the IFsrmRule::PropertyAffected property to reference the property definition.

You cannot delete a property that is referenced by a file management job property condition. To determine if a property condition is holding a reference, look for property conditions that have the "name" property of the condition equal to the name of the property definition that is being deleted.

Reports use the property definition only as a filter in the report type FsrmReportType_FilesByProperty.

Examples

For examples in C# and PowerShell see Accessing Classification Properties.

Requirements

   
Minimum supported client None supported
Minimum supported server Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, FsrmScreen.h)

See Also

IFsrmObject

IFsrmProperty