IFsrmClassificationManager::GetModuleDefinition method

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

Retrieves the specified module definition.

Syntax

HRESULT GetModuleDefinition(
  BSTR                          moduleName,
  FsrmPipelineModuleType        moduleType,
  IFsrmPipelineModuleDefinition **moduleDefinition
);

Parameters

moduleName

The name of the module to retrieve. Must not exceed 100 characters in length.

moduleType

The type of the module to retrieve. For possible types, see the FsrmPipelineModuleType enumeration.

moduleDefinition

An IFsrmPipelineModuleDefinition interface to the retrieved 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.

Return Value

The method returns the following return values.

Requirements

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

See Also

FsrmClassificationManager

IFsrmClassificationManager

IFsrmClassificationManager2

IFsrmClassificationManager::CreateModuleDefinition

IFsrmClassificationManager::EnumModuleDefinition

IFsrmClassifierModuleDefinition

IFsrmStorageModuleDefinition

MSFT_FSRMClassification