Moving Objects
To move an object within a domain, use the IADsContainer.MoveHere method.
To move an object within a domain
- Bind to the IADs interface of the object to move.
- Get the ADsPath of the object to move from the IADs.ADsPath property.
- Bind to the IADsContainer interface of the container where the object will be moved to.
- Move the object with the IADsContainer.MoveHere method.
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.
Opinia
https://aka.ms/ContentUserFeedback.
Dostępne już wkrótce: W 2024 r. będziemy stopniowo wycofywać zgłoszenia z serwisu GitHub jako mechanizm przesyłania opinii na temat zawartości i zastępować go nowym systemem opinii. Aby uzyskać więcej informacji, sprawdź:Prześlij i wyświetl opinię dla