IFsrmClassificationManager::ClearFileProperty method

Attempts to remove the specified property from the file or folder.

Windows Server 2008 R2:  Only files are supported until Windows Server 2012.

Syntax

HRESULT ClearFileProperty(
  BSTR filePath,
  BSTR property
);

Parameters

filePath

The file that contains the property that you want to remove. You must specify an absolute path to the file. You cannot specify a file share.

property

Return Value

The method returns the following return values.

Remarks

The property is removed from the file if the storage module is able to remove the property; otherwise, the property's value is cleared using the values in the following list.

Property type Cleared value
Boolean
Date
Hierarchy
Integer
Multiple choice list
Single choice list
Multi-string
Ordered list
String Empty string

Requirements

   
Windows version Windows 8 Windows Server 2008 R2
Target Platform Windows
Header fsrmpipeline.h (include FsrmPipeline.h, FsrmTlb.h)
DLL SrmSvc.dll

See Also

FsrmClassificationManager

IFsrmClassificationManager

IFsrmClassificationManager2

IFsrmClassificationManager::GetFileProperty

IFsrmClassificationManager::SetFileProperty

MSFT_FSRMClassification