// Token: 0x06001D59 RID: 7513 RVA: 0x0007A460 File Offset: 0x00078660
        internal static bool IsRecipientFilterPropertiesModified(ADObject adObject, bool isChanged)
        {
            ISupportRecipientFilter supportRecipientFilter = (ISupportRecipientFilter)adObject;

            ADPropertyDefinition[] array = new ADPropertyDefinition[]
            {
                supportRecipientFilter.RecipientFilterSchema,
                supportRecipientFilter.LdapRecipientFilterSchema,
                supportRecipientFilter.IncludedRecipientsSchema,
                supportRecipientFilter.ConditionalDepartmentSchema,
                supportRecipientFilter.ConditionalCompanySchema,
                supportRecipientFilter.ConditionalStateOrProvinceSchema,
                supportRecipientFilter.ConditionalCustomAttribute1Schema,
                supportRecipientFilter.ConditionalCustomAttribute2Schema,
                supportRecipientFilter.ConditionalCustomAttribute3Schema,
                supportRecipientFilter.ConditionalCustomAttribute4Schema,
                supportRecipientFilter.ConditionalCustomAttribute5Schema,
                supportRecipientFilter.ConditionalCustomAttribute6Schema,
                supportRecipientFilter.ConditionalCustomAttribute7Schema,
                supportRecipientFilter.ConditionalCustomAttribute8Schema,
                supportRecipientFilter.ConditionalCustomAttribute9Schema,
                supportRecipientFilter.ConditionalCustomAttribute10Schema,
                supportRecipientFilter.ConditionalCustomAttribute11Schema,
                supportRecipientFilter.ConditionalCustomAttribute12Schema,
                supportRecipientFilter.ConditionalCustomAttribute13Schema,
                supportRecipientFilter.ConditionalCustomAttribute14Schema,
                supportRecipientFilter.ConditionalCustomAttribute15Schema
            };
            foreach (ADPropertyDefinition providerPropertyDefinition in array)
            {
                if (isChanged)
                {
                    if (adObject.IsChanged(providerPropertyDefinition))
                    {
                        return(true);
                    }
                }
                else if (adObject.IsModified(providerPropertyDefinition))
                {
                    return(true);
                }
            }
            return(false);
        }
Beispiel #2
0
 protected override bool ShouldUpgradeExchangeVersion(ADObject adObject)
 {
     return(base.ShouldUpgradeExchangeVersion(adObject) || adObject.IsModified(ADRecipientSchema.SendModerationNotifications) || adObject.IsModified(ADRecipientSchema.ModerationFlags) || adObject.IsModified(ADRecipientSchema.ModerationEnabled) || base.Fields.IsModified(ADRecipientSchema.ModeratedBy) || base.Fields.IsModified(ADRecipientSchema.ArbitrationMailbox));
 }
Beispiel #3
0
 protected override bool ShouldUpgradeExchangeVersion(ADObject adObject)
 {
     return(base.ShouldUpgradeExchangeVersion(adObject) || adObject.IsModified(MailUserSchema.WindowsLiveID));
 }