IFsrmClassificationManager::CreatePropertyDefinition method (fsrmpipeline.h)
[This method is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMClassification class.]
Creates a property definition.
Syntax
HRESULT CreatePropertyDefinition(
[out] IFsrmPropertyDefinition **propertyDefinition
);
Parameters
[out] propertyDefinition
An IFsrmPropertyDefinition interface to the new property definition. To save the property definition, call IFsrmPropertyDefinition::Commit method.
Return value
The method returns the following return values.
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | None supported |
Minimum supported server | Windows Server 2008 R2 |
Target Platform | Windows |
Header | fsrmpipeline.h (include FsrmPipeline.h, FsrmTlb.h) |
DLL | SrmSvc.dll |
See also
IFsrmClassificationManager::EnumPropertyDefinitions
IFsrmClassificationManager::GetPropertyDefinition
IFsrmClassificationRule::PropertyAffected
MSFT_FSRMClassification