DirectoryEntry Methods

The DirectoryEntry type exposes the following members.

  NameDescription
Public method Close Closes the DirectoryEntry object and releases any system resources that are associated with this component.
Public method CommitChanges Saves changes that are made to a directory entry to the underlying directory store.
Public method CopyTo Overloaded. Creates a copy of this entry.
Public method 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.)
Public method DeleteTree Deletes this entry and its entire subtree from the Active Directory Domain Services hierarchy.
Public method Dispose Overloaded. Disposes of the resources that are used by the DirectoryEntry object.
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method Static member Exists Determines if the specified path represents an actual entry in the directory service.
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetLifetimeService Retrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public method GetType Gets the type of the current instance. (Inherited from Object.)
Public method InitializeLifetimeService Obtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public method Invoke Calls a method on the native Active Directory Domain Services object.
Public method InvokeGet Gets a property from the native Active Directory Domain Services object.
Public method InvokeSet Sets a property on the native Active Directory Domain Services object.
Protected method MemberwiseClone Overloaded.
Public method MoveTo Overloaded. Moves this DirectoryEntry.
Public method RefreshCache Overloaded. Loads the property values for this DirectoryEntry object into the property cache.
Public method Rename Changes the name of this DirectoryEntry object.
Public method ToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft