Share via


FsrmClassificationManagerClass.CreatePropertyDefinition Method ()

 

Creates a property definition.

Namespace:   Microsoft.Storage
Assembly:  srmlib (in srmlib.dll)

Syntax

public virtual IFsrmPropertyDefinition CreatePropertyDefinition()
public:
virtual IFsrmPropertyDefinition^ CreatePropertyDefinition()
abstract CreatePropertyDefinition : unit -> IFsrmPropertyDefinition
override CreatePropertyDefinition : unit -> IFsrmPropertyDefinition
Public Overridable Function CreatePropertyDefinition As IFsrmPropertyDefinition

Return Value

Type: Microsoft.Storage.IFsrmPropertyDefinition

Returns a IFsrmPropertyDefinition containing the new property definition. To save the property definition, call Commit method.

Implements

IFsrmClassificationManager2.CreatePropertyDefinition()

Remarks

You create a property definition to define the property that you want to use to classify files. One or more classification rules can specify the property. The FSRM server limits the number of property definitions to 100.

You cannot delete a property that is referenced by a rule or report job.

See Also

IFsrmClassificationManager2
IFsrmClassificationManager
EnumPropertyDefinitions
GetPropertyDefinition
PropertyAffected
FsrmClassificationManager
FsrmClassificationManagerClass Class
Microsoft.Storage Namespace
MSFT_FSRMClassification

Return to top