// Token: 0x06001182 RID: 4482 RVA: 0x0005459C File Offset: 0x0005279C internal static OrganizationId FindMostRecentSharedConfigurationInPartition(OrganizationId sourceOrganizationId, PartitionId targetAccountPartitionId, out Exception ex) { ex = null; OrganizationId organizationId = null; ExchangeConfigurationUnit[] array = SharedConfiguration.LoadSharedConfigurationsSorted(sourceOrganizationId); if (array != null && array.Length > 0) { int num = array.Length; SharedConfigurationInfo sharedConfigurationInfo = array[num - 1].SharedConfigurationInfo; organizationId = SharedConfiguration.FindOneSharedConfigurationId(sharedConfigurationInfo, targetAccountPartitionId); if (organizationId == null) { ex = new InvalidOperationException(DirectoryStrings.ErrorTargetPartitionSctMissing(sourceOrganizationId.ConfigurationUnit.DistinguishedName, targetAccountPartitionId.ForestFQDN, sharedConfigurationInfo.ToString())); } } return(organizationId); }
// Token: 0x06001181 RID: 4481 RVA: 0x00054578 File Offset: 0x00052778 internal static bool DoesSctExistForVersion(ServerVersion version, string programId, string offerId, PartitionId partitionId) { SharedConfigurationInfo sci = new SharedConfigurationInfo(version, programId, offerId); return(SharedConfiguration.FindOneSharedConfigurationId(sci, partitionId) != null); }