protected override void InternalValidate()
 {
     base.InternalValidate();
     if (this.IsDefault)
     {
         this.DataObject.IsDefault    = true;
         this.existingDefaultPolicies = DefaultTeamMailboxProvisioningPolicyUtility.GetDefaultPolicies((IConfigurationSession)base.DataSession);
         if (this.existingDefaultPolicies != null && this.existingDefaultPolicies.Count > 0)
         {
             this.updateExistingDefaultPolicies = true;
         }
     }
 }
 protected override void InternalValidate()
 {
     ((IConfigurationSession)base.DataSession).SessionSettings.IsSharedConfigChecked = true;
     if (!this.IgnoreDehydratedFlag)
     {
         SharedConfigurationTaskHelper.VerifyIsNotTinyTenant(base.CurrentOrgState, new Task.ErrorLoggerDelegate(base.WriteError));
     }
     base.InternalValidate();
     if (base.HasErrors)
     {
         return;
     }
     if (this.IsDefault)
     {
         this.DataObject.IsDefault = true;
         QueryFilter additionalFilter = new ComparisonFilter(ComparisonOperator.NotEqual, ADObjectSchema.Guid, this.DataObject.Id.ObjectGuid);
         this.otherDefaultPolicies = DefaultTeamMailboxProvisioningPolicyUtility.GetDefaultPolicies((IConfigurationSession)base.DataSession, additionalFilter);
         if (this.otherDefaultPolicies.Count > 0)
         {
             this.updateOtherDefaultPolicies = true;
         }
     }
 }