DirectoryEntry::Rename Method (String^)
.NET Framework (current version)
Changes the name of this DirectoryEntry object.
Assembly: System.DirectoryServices (in System.DirectoryServices.dll)
Parameters
- newName
-
Type:
System::String^
The new name of the entry.
Note |
|---|
This will also affect the path that is used to refer to this entry. |
If UsePropertyCache is true, be sure to call the CommitChanges method on the new object to make the move permanent.
.NET Framework
Available since 1.1
Available since 1.1
Show:
