IFsrmClassificationManager2 interface

[This interface is supported for compatibility but it's recommended to use the FSRM WMI Classes to manage FSRM. Please see the MSFT_FSRMClassification class.]

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.

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.

Members

The IFsrmClassificationManager2 interface inherits from IFsrmClassificationManager. IFsrmClassificationManager2 also has these types of members:

Methods

The IFsrmClassificationManager2 interface has these methods.

MethodDescription
CancelClassification

Cancels classification if it is running.

ClassifyFiles

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

ClearFileProperty

Clears the value of the specified property in the file.

CreateModuleDefinition

Creates a module definition of the specified type.

CreatePropertyDefinition

Creates a property definition.

CreateRule

Creates a rule of the specified type.

EnumFileProperties

Enumerates the properties of the specified file.

EnumModuleDefinitions

Enumerates the module definitions of the specified type.

EnumPropertyDefinitions

Enumerates the property definitions.

EnumRules

Enumerates the rules of the specified type.

GetFileProperty

Retrieves the specified property from the file.

GetModuleDefinition

Retrieves the specified module definition.

GetPropertyDefinition

Retrieves the specified property definition.

GetRule

Retrieves the specified rule.

RunClassification

Runs classification rules and generates the classification report.

SetFileProperty

Sets the value of the specified property in the file.

WaitForClassificationCompletion

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

 

Properties

The IFsrmClassificationManager2 interface has these properties.

PropertyAccess typeDescription

ClassificationLastError

Read-only

The error message from the last time classification was run.

ClassificationLastReportPathWithoutExtension

Read-only

The local directory path where the reports were stored the last time classification ran.

ClassificationReportEnabled

Read/write

Determines whether classification reporting is enabled or not.

ClassificationReportFormats

Read/write

The list of formats in which to generate the classification reports.

ClassificationReportMailTo

Read/write

The email address to which to send the classification reports, if any.

ClassificationRunningStatus

Read-only

The running status of classification.

Logging

Read/write

The types of logging to perform when running the classification rules.

 

Examples

For an example that demonstrates this interface see Classifying Files.

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Header

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

IDL

FsrmPipeline.idl

DLL

SrmSvc.dll

IID

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

See also

FSRM Interfaces
FsrmClassificationManager
MSFT_FSRMClassification

 

 

Show:
© 2014 Microsoft