IFsrmClassificationManager2.EnumModuleDefinitions Method (_FsrmPipelineModuleType, _FsrmEnumOptions)
Enumerates the module definitions of the specified type.
Namespace: Microsoft.Storage
Assembly: srmlib (in srmlib.dll)
Syntax
IFsrmCollection EnumModuleDefinitions(
_FsrmPipelineModuleType ModuleType,
_FsrmEnumOptions options = _FsrmEnumOptions.FsrmEnumOptions_None
)
IFsrmCollection^ EnumModuleDefinitions(
_FsrmPipelineModuleType ModuleType,
_FsrmEnumOptions options = _FsrmEnumOptions::FsrmEnumOptions_None
)
abstract EnumModuleDefinitions :
ModuleType:_FsrmPipelineModuleType *
options:_FsrmEnumOptions = _FsrmEnumOptions.FsrmEnumOptions_None -> IFsrmCollection
Function EnumModuleDefinitions (
ModuleType As _FsrmPipelineModuleType,
options As _FsrmEnumOptions
) As IFsrmCollection
Parameters
ModuleType
Type: Microsoft.Storage._FsrmPipelineModuleTypeThe type of module to enumerate. For possible values, see the _FsrmPipelineModuleType enumeration.
options
Type: Microsoft.Storage._FsrmEnumOptionsOne or more options for enumerating the modules. For possible values, see the _FsrmEnumOptions enumeration. The FsrmEnumOptions_Asynchronous option is not supported by this method.
Return Value
Type: Microsoft.Storage.IFsrmCollection
Returns a 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 ModuleType property to determine the module's type. Query the IFsrmPipelineModuleDefinition interface for the module interface to use. For example, if the value of the ModuleType parameter 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.
Implements
IFsrmClassificationManager.EnumModuleDefinitions(_FsrmPipelineModuleType, _FsrmEnumOptions)
See Also
IFsrmClassificationManager2 Interface
Microsoft.Storage Namespace
Return to top