Click or drag to resize
RuleInfoProviderGetRuleInfo Method (Int32)

Note: This API is now obsolete.

Returns rule with specified ID.

Namespace: CMS.ContactManagement
Assembly: CMS.ContactManagement (in CMS.ContactManagement.dll) Version: 13.0.131
Syntax
C#
[ObsoleteAttribute("Use IRuleInfoProvider.Get(int) instead. To get an instance of the interface's implementation, use dependency injection or access the instance directly - RuleInfo.Provider.")]
public static RuleInfo GetRuleInfo(
	int ruleId
)

Parameters

ruleId
Type: SystemInt32
Rule ID

Return Value

Type: RuleInfo
See Also