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) }); }
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) }); }