Directory Services |
To move an object within a domain, use the IADsContainer.MoveHere method.
To move an object within a domain
If an interface exists to the object that was moved, the interface is not valid after the object is moved because the directory object the interface represents no longer exists.
For more information and a code example that shows how to move an object, see Example Code for Moving an Object.