protected override IConfigDataProvider CreateSession() { ADSessionSettings adsessionSettings = (this.accountPartition != null) ? ADSessionSettings.FromAllTenantsPartitionId(this.accountPartition) : ADSessionSettings.RescopeToAllTenants(base.SessionSettings); adsessionSettings.TenantConsistencyMode = TenantConsistencyMode.IncludeRetiredTenants; return(DirectorySessionFactory.Default.CreateTenantConfigurationSession(base.DomainController, true, ConsistencyMode.PartiallyConsistent, null, adsessionSettings, 184, "CreateSession", "f:\\15.00.1497\\sources\\dev\\Management\\src\\Management\\Deployment\\GetOrganizationTask.cs")); }