IFsrmClassificationManager::CreatePropertyDefinition method

[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

propertyDefinition [out]

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.

Return codeDescription
S_OK

Success

 

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

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

FsrmPipeline.h (include FsrmPipeline.h or FsrmTlb.h)

DLL

SrmSvc.dll

CLSID

CLSID_FsrmClassificationManager is defined as b15c0e47-c391-45b9-95c8-eb596c853f3a

IID

IID_IFsrmClassificationManager is defined as d2dc89da-ee91-48a0-85d8-cc72a56f7d04

IID_IFsrmClassificationManager2 is defined as 0004c1c9-127e-4765-ba07-6a3147bca112

See also

IFsrmClassificationManager2
IFsrmClassificationManager
IFsrmClassificationManager::EnumPropertyDefinitions
IFsrmClassificationManager::GetPropertyDefinition
IFsrmClassificationRule::PropertyAffected
FsrmClassificationManager
MSFT_FSRMClassification
MSFT_FSRMClassification

 

 

Show:
© 2015 Microsoft