コード例 #1
0
 public static bool IsTenantLockedDown(ADObjectId identity)
 {
     return(TenantRelocationStateCache.IsSourceTenantStateInRange(identity, new TenantRelocationStatus[]
     {
         TenantRelocationStatus.Lockdown
     }));
 }
コード例 #2
0
 public static bool IsTenantRetired(ADObjectId identity)
 {
     return(TenantRelocationStateCache.IsSourceTenantStateInRange(identity, new TenantRelocationStatus[]
     {
         TenantRelocationStatus.Retired
     }));
 }
コード例 #3
0
 public static bool IsTenantVolatile(ADObjectId identity)
 {
     return(TenantRelocationStateCache.IsSourceTenantStateInRange(identity, new TenantRelocationStatus[]
     {
         TenantRelocationStatus.Synchronization,
         TenantRelocationStatus.Lockdown,
         TenantRelocationStatus.Retired
     }));
 }