IFsrmClassificationManager::EnumModuleDefinitions method (fsrmpipeline.h)

[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.]

Enumerates the module definitions of the specified type.

Syntax

HRESULT EnumModuleDefinitions(
  [in]  FsrmPipelineModuleType moduleType,
  [in]  FsrmEnumOptions        options,
  [out] IFsrmCollection        **moduleDefinitions
);

Parameters

[in] moduleType

Type of module to enumerate. For possible values, see the FsrmPipelineModuleType enumeration.

[in] options

One or more options for enumerating the modules. For possible values, see the FsrmEnumOptions enumeration.

Note  The FsrmEnumOptions_Asynchronous option is not supported by this method.
 

[out] moduleDefinitions

An IFsrmCollection interface that contains a collection of module definitions. Each item in the collection is a VARIANT of type VT_DISPATCH. Query the pdispVal member of the variant for the IFsrmPipelineModuleDefinition interface. You can then use the IFsrmPipelineModuleDefinition.ModuleType property to determine the module's type. Query the IFsrmPipelineModuleDefinition interface for the module interface to use. For example, if ModuleType is FsrmPipelineModuleType_Classifier, query the IFsrmPipelineModuleDefinition interface for the IFsrmClassifierModuleDefinition interface.

The collection contains only committed module definitions; the collection will not contain newly created module definitions that have not been committed.

Return value

The method returns the following return values.

Requirements

Requirement Value
Minimum supported client None supported
Minimum supported server 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::GetModuleDefinition

IFsrmClassifierModuleDefinition

IFsrmStorageModuleDefinition

MSFT_FSRMClassification