/// <summary>
        /// Sets an attribute value of the specified managed object.
        /// </summary>
        /// <param name="name"></param>
        /// <param name="attributeName"></param>
        /// <param name="attributeValue"></param>
        /// <exception cref="InvalidDomainException">If domain name is not found.</exception>
        public void SetAttribute(ManagedObjectName name, String attributeName, Object attributeValue)
        {
            if (name == null)
            {
                throw new ArgumentNullException("name");
            }
            if (attributeName == null)
            {
                throw new ArgumentNullException("attributeName");
            }

            registry.SetAttributeValue(name, attributeName, attributeValue);
        }