IFsrmClassificationManager::GetRule 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 rule.

Syntax

HRESULT GetRule(
  BSTR         ruleName,
  FsrmRuleType ruleType,
  IFsrmRule    **Rule
);

Parameters

ruleName

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

ruleType

The type of the rule to retrieve. For possible types, see the FsrmRuleType enumeration.

Note  The FsrmRuleType_Generic type is not supported by this method.
 

Rule

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::CreateRule

IFsrmClassificationManager::EnumRules

MSFT_FSRMClassification