Export (0) Print
Expand All

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:

Members

The IFsrmPropertyDefinition interface inherits from IFsrmObject. IFsrmPropertyDefinition also has these types of members:

Properties

The IFsrmPropertyDefinition interface has these properties.

PropertyAccess typeDescription

Name

Read/write

The name of the property definition.

Parameters

Read/write

Parameters for the property definition.

PossibleValues

Read/write

The possible values for properties that contain lists of values.

Type

Read/write

The type of data that the property contains.

ValueDescriptions

Read/write

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

Header

Fsrm.h (include FsrmPipeline.h, FsrmQuota.h, FsrmReports.h, or FsrmScreen.h)

DLL

SrmSvc.dll

IID

IID_IFsrmPropertyDefinition is defined as ede0150f-e9a3-419c-877c-01fe5d24c5d3

See also

IFsrmProperty

 

 

Show:
© 2014 Microsoft