protected override void WriteResult(IConfigurable dataObject) { if (base.NeedSuppressingPiiData && dataObject is PsComplianceRuleBase) { base.ExchangeRunspaceConfig.EnablePiiMap = true; PsComplianceRuleBase psComplianceRuleBase = dataObject as PsComplianceRuleBase; psComplianceRuleBase.SuppressPiiData(Utils.GetSessionPiiMap(base.ExchangeRunspaceConfig)); } base.WriteResult(dataObject); }
public ComplianceRuleIdParameter(PsComplianceRuleBase rule) : this(rule.Identity.ToString()) { }