IFsrmClassificationManager::EnumModuleDefinitions 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.]

Enumerates the module definitions of the specified type.

Syntax


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

Parameters

moduleType [in]

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

options [in]

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.

moduleDefinitions [out]

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.

Return codeDescription
S_OK

Success

E_INVALIDARG

The moduleType parameter value is invalid.

FSRM_E_NOT_SUPPORTED

The options parameter is set to FsrmEnumOptions_Asynchronous.

 

Requirements

Minimum supported client

None supported

Minimum supported server

Windows Server 2008 R2

Header

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

DLL

SrmSvc.dll

CLSID

CLSID_FsrmClassificationManager is defined as b15c0e47-c391-45b9-95c8-eb596c853f3a

IID

IID_IFsrmClassificationManager is defined as d2dc89da-ee91-48a0-85d8-cc72a56f7d04

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

See also

IFsrmClassificationManager2
IFsrmClassificationManager
IFsrmClassificationManager::CreateModuleDefinition
IFsrmClassificationManager::GetModuleDefinition
IFsrmClassifierModuleDefinition
IFsrmStorageModuleDefinition
FsrmClassificationManager
MSFT_FSRMClassification

 

 

Show:
© 2014 Microsoft