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.
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin