Ejemplo n.º 1
0
 protected override void InternalValidate()
 {
     this.adTrust = null;
     base.InternalValidate();
     if (base.HasErrors)
     {
         return;
     }
     if (base.Fields.IsModified("Trust") && this.Trust != null)
     {
         this.adTrust = NewAccountPartition.ResolveAndValidateForestTrustForADDomain(this.Trust, new Task.ErrorLoggerDelegate(base.WriteError), (IConfigurationSession)base.DataSession);
     }
 }
Ejemplo n.º 2
0
 protected override void InternalValidate()
 {
     this.adTrust = null;
     if (this.Trust != null)
     {
         this.adTrust = NewAccountPartition.ResolveAndValidateForestTrustForADDomain(this.Trust, new Task.ErrorLoggerDelegate(base.WriteError), (IConfigurationSession)base.DataSession);
     }
     if (this.LocalForest)
     {
         NewAccountPartition.VerifyNoOtherPartitionIsLocalForest(base.GlobalConfigSession, new Task.ErrorLoggerDelegate(base.WriteError));
     }
     base.InternalValidate();
     bool hasErrors = base.HasErrors;
 }