コード例 #1
0
 protected override IList <ADServerInfo> InternalGetServersForRole(string partitionFqdn, IList <string> currentlyUsedServers, ADServerRole role, int serversRequested, bool forestWideAffinityRequested = false)
 {
     TopologyProvider.EnforceLocalForestPartition(partitionFqdn);
     return(new List <ADServerInfo>
     {
         this.GetDefaultServerInfo(partitionFqdn)
     });
 }
コード例 #2
0
 public override IList <TopologyVersion> GetTopologyVersions(IList <string> partitionFqdns)
 {
     if (partitionFqdns == null)
     {
         throw new ArgumentException("partitionFqdns");
     }
     TopologyProvider.EnforceLocalForestPartition(partitionFqdns[0]);
     return(new List <TopologyVersion>
     {
         new TopologyVersion(partitionFqdns[0], this.topologyVersion)
     });
 }