Exemple #1
0
        public DBServer this[DBRoles role]
        {
            get
            {
                DBServer server = null;

                for (int i = 0; i < _alServerMember.Count; ++i)
                {
                    if (((DBServer)_alServerMember[i])._sDBRole == role.ToString())
                    {
                        server = (DBServer)_alServerMember[i];
                        break;
                    }
                }

                return server;
            }
        }