Partager via


FsrmClassificationManagerClass.CreateModuleDefinition Method (_FsrmPipelineModuleType)

 

Creates a module definition of the specified type.

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

Syntax

public virtual IFsrmPipelineModuleDefinition CreateModuleDefinition(
    _FsrmPipelineModuleType ModuleType
)
public:
virtual IFsrmPipelineModuleDefinition^ CreateModuleDefinition(
    _FsrmPipelineModuleType ModuleType
)
abstract CreateModuleDefinition : 
        ModuleType:_FsrmPipelineModuleType -> IFsrmPipelineModuleDefinition
override CreateModuleDefinition : 
        ModuleType:_FsrmPipelineModuleType -> IFsrmPipelineModuleDefinition
Public Overridable Function CreateModuleDefinition (
    ModuleType As _FsrmPipelineModuleType
) As IFsrmPipelineModuleDefinition

Parameters

Return Value

Type: Microsoft.Storage.IFsrmPipelineModuleDefinition

Returns a IFsrmPipelineModuleDefinition containing the new module definition. Query the IFsrmPipelineModuleDefinition interface to get the interface for the specified module. For example, if moduleType is FsrmPipelineModuleType_Classifier, query the IFsrmPipelineModuleDefinition interface for the IFsrmClassifierModuleDefinition interface.

To save the module definition, call IFsrmPipelineModuleDefinition.Commit method.

Implements

IFsrmClassificationManager2.CreateModuleDefinition(_FsrmPipelineModuleType)

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 four 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.

  4. Secure Storage Module—stores secure properties within the security descriptor for all file types.

    Note: The Secure Storage Module is not available before Windows Server 2012.

See Also

IFsrmClassificationManager2
IFsrmClassificationManager
EnumModuleDefinitions
GetModuleDefinition
IFsrmClassifierModuleDefinition
Bind
IFsrmStorageModuleDefinition
FsrmClassificationManager
FsrmClassificationManagerClass Class
Microsoft.Storage Namespace
MSFT_FSRMClassification

Return to top