This documentation is archived and is not being maintained.
DirectoryEntry Methods
Visual Studio 2010
The DirectoryEntry type exposes the following members.
| Name | Description | |
|---|---|---|
|
Close | Closes the DirectoryEntry object and releases any system resources that are associated with this component. |
|
CommitChanges | Saves changes that are made to a directory entry to the underlying directory store. |
|
CopyTo(DirectoryEntry) | Creates a copy of this entry as a child of the specified parent. |
|
CopyTo(DirectoryEntry, String) | Creates a copy of this DirectoryEntry object, as a child of the specified parent DirectoryEntry object, with the specified new name. |
|
CreateObjRef | Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.) |
|
DeleteTree | Deletes this entry and its entire subtree from the Active Directory Domain Services hierarchy. |
|
Dispose() | Releases all resources used by the Component. (Inherited from Component.) |
|
Dispose(Boolean) | Disposes of the resources (other than memory) that are used by the DirectoryEntry. (Overrides Component::Dispose(Boolean).) |
|
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) |
|
Exists | Determines if the specified path represents an actual entry in the directory service. |
|
Finalize | Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.) |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetLifetimeService | Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
GetService | Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.) |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
InitializeLifetimeService | Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.) |
|
Invoke | Calls a method on the native Active Directory Domain Services object. |
|
InvokeGet | Gets a property from the native Active Directory Domain Services object. |
|
InvokeSet | Sets a property on the native Active Directory Domain Services object. |
|
MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
MemberwiseClone(Boolean) | Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.) |
|
MoveTo(DirectoryEntry) | Moves this DirectoryEntry object to the specified parent. |
|
MoveTo(DirectoryEntry, String) | Moves this DirectoryEntry object to the specified parent and changes its name to the specified value. |
|
RefreshCache() | Loads the property values for this DirectoryEntry object into the property cache. |
|
RefreshCache(array<String>) | Loads the values of the specified properties into the property cache. |
|
Rename | Changes the name of this DirectoryEntry object. |
|
ToString | Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.) |
Show: