Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
[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(
  [in]  BSTR                          moduleName,
  [in]  FsrmPipelineModuleType        moduleType,
  [out] IFsrmPipelineModuleDefinition **moduleDefinition
);
Parameters
[in] moduleName
The name of the module to retrieve. Must not exceed 100 characters in length.
[in] moduleType
The type of the module to retrieve. For possible types, see the FsrmPipelineModuleType enumeration.
[out] 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
| 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
IFsrmClassificationManager::CreateModuleDefinition
IFsrmClassificationManager::EnumModuleDefinition