Поделиться через


IFsrmClassificationManager.CreateModuleDefinition Method (_FsrmPipelineModuleType)

 

Creates a module definition of the specified type.

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

Syntax

IFsrmPipelineModuleDefinition CreateModuleDefinition(
    _FsrmPipelineModuleType ModuleType
)
IFsrmPipelineModuleDefinition^ CreateModuleDefinition(
    _FsrmPipelineModuleType ModuleType
)
abstract CreateModuleDefinition : 
        ModuleType:_FsrmPipelineModuleType -> IFsrmPipelineModuleDefinition
Function CreateModuleDefinition (
    ModuleType As _FsrmPipelineModuleType
) As IFsrmPipelineModuleDefinition

Parameters

Return Value

Type: Microsoft.Storage.IFsrmPipelineModuleDefinition

Returns a IFsrmPipelineModuleDefinition interface to the new module definition. Query the IFsrmPipelineModuleDefinition interface to get the interface for the specified module. For example, if the value of the ModuleType parameter is FsrmPipelineModuleType_Classifier, query the IFsrmPipelineModuleDefinition interface for the IFsrmClassifierModuleDefinition interface.

To save the module definition, call the Commit method.

Remarks

There is no limit to the number of modules that you can define.

In addition to defining the module with FSRM, you must also register the class with COM. This needs to be a registration of a COM class that implements IFsrmClassifierModuleImplementation or IFsrmStorageModuleImplementation, depending on the type of module.

FSRM provides the following built-in classifiers: the Folder Classifier and the Content Classifier. The Folder Classifier classifies files based on the folder in which they are stored. The Content Classifier classifies by searching for strings and regular expressions in the file using Windows text extraction methods.

FSRM provides the following three built-in storage modules:

  1. System Cache Storage Module—stores properties in an NTFS Alternate Data Stream cache.

  2. Office 97 - 2003 In-File Storage Module—stores properties within a Microsoft Office 97 - 2003 file.

  3. Office 2007 In-File Storage Module—stores properties within a Microsoft Office 2007 file.

See Also

IFsrmClassificationManager2
FsrmClassificationManager
IFsrmClassificationManager Interface
Microsoft.Storage Namespace

Return to top