IFsrmClassificationManager2 Interface

 

Manages file classification. Use this interface to define properties to use in classification, add classification rules for classifying files, define classification and storage modules, and enable classification reporting.

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

<GuidAttribute("0004C1C9-127E-4765-BA07-6A3147BCA112")>
Public Interface IFsrmClassificationManager2
	Inherits IFsrmClassificationManager

NameDescription
System_CAPS_pubpropertyClassificationLastError

Gets the ClassificationLastError property.

System_CAPS_pubpropertyClassificationLastReportPathWithoutExtension

Gets the ClassificationLastReportPathWithoutExtension property.

System_CAPS_pubpropertyClassificationReportEnabled

Gets and sets the ClassificationReportEnabled property.

System_CAPS_pubpropertyClassificationReportFormats

Gets and sets the ClassificationReportFormats property.

System_CAPS_pubpropertyClassificationReportMailTo

Gets and sets the ClassificationReportMailTo property.

System_CAPS_pubpropertyClassificationRunningStatus

Gets the ClassificationRunningStatus property.

System_CAPS_pubpropertyLogging

Gets and sets the Logging property.

NameDescription
System_CAPS_pubmethodCancelClassification()

Cancels classification if it is running.

System_CAPS_pubmethodClassifyFiles(Object(), Object(), Object(), _FsrmGetFilePropertyOptions)

This method is used to perform bulk enumeration, setting, and clearing of file properties.

System_CAPS_pubmethodClearFileProperty(String, String)

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

System_CAPS_pubmethodCreateModuleDefinition(_FsrmPipelineModuleType)

Creates a module definition of the specified type.

System_CAPS_pubmethodCreatePropertyDefinition()

Creates a property definition.

System_CAPS_pubmethodCreateRule(_FsrmRuleType)

Creates a rule of the specified type.

System_CAPS_pubmethodEnumFileProperties(String, _FsrmGetFilePropertyOptions)

Enumerates the properties of the specified file.

System_CAPS_pubmethodEnumModuleDefinitions(_FsrmPipelineModuleType, _FsrmEnumOptions)

Enumerates the module definitions of the specified type.

System_CAPS_pubmethodEnumPropertyDefinitions(_FsrmEnumOptions)

Enumerates the property definitions.

System_CAPS_pubmethodEnumRules(_FsrmRuleType, _FsrmEnumOptions)

Enumerates the rules of the specified type.

System_CAPS_pubmethodGetFileProperty(String, String, _FsrmGetFilePropertyOptions)

Retrieves the specified property from the file or folder.

System_CAPS_pubmethodGetModuleDefinition(String, _FsrmPipelineModuleType)

Retrieves the specified module definition.

System_CAPS_pubmethodGetPropertyDefinition(String)

Retrieves the specified property definition.

System_CAPS_pubmethodGetRule(String, _FsrmRuleType)

Retrieves the specified rule.

System_CAPS_pubmethodRunClassification(_FsrmReportGenerationContext, String)

Runs classification rules and generates the classification report.

System_CAPS_pubmethodSetFileProperty(String, String, String)

Sets the value of the specified property in the file or folder.

System_CAPS_pubmethodWaitForClassificationCompletion(Int32)

Waits for the specified period of time or until classification has finished running.

To get this interface, call the CoCreateInstanceEx function. Use CLSID_FsrmClassificationManager as the class identifier and __uuidof(IFsrmClassificationManager2) as the interface identifier or use the use the "Fsrm.FsrmClassificationManager" program identifier.

For an example that demonstrates this interface see Classifying Files.

Return to top

Community Additions

ADD
Show: