Click to Rate and Give Feedback
MSDN
MSDN Library
.NET Development
.NET Framework 3.5
 DirectoryEntry Members

  Switch on low bandwidth view
Members FilterMembers Filter
Frameworks FilterFrameworks Filter
This page is specific to
Microsoft Visual Studio 2008/.NET Framework 3.5

Other versions are also available for the following:
.NET Framework Class Library
DirectoryEntry Members

The DirectoryEntry class encapsulates a node or object in the Active Directory Domain Services hierarchy.

The DirectoryEntry type exposes the following members.

  NameDescription
Public methodDirectoryEntryOverloaded. Initializes a new instance of the DirectoryEntry class.
Top
  NameDescription
Public methodClose Closes the DirectoryEntry object and releases any system resources that are associated with this component.
Public methodCommitChanges Saves changes that are made to a directory entry to the underlying directory store.
Public methodCopyToOverloaded. Creates a copy of this entry.
Public methodCreateObjRefCreates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (Inherited from MarshalByRefObject.)
Public methodDeleteTree Deletes this entry and its entire subtree from the Active Directory Domain Services hierarchy.
Public methodDisposeOverloaded. Disposes of the resources that are used by the DirectoryEntry object.
Public methodEquals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public methodStatic memberExists Determines if the specified path represents an actual entry in the directory service.
Protected methodFinalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
Public methodGetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public methodGetLifetimeServiceRetrieves the current lifetime service object that controls the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Protected methodGetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
Public methodGetType Gets the Type of the current instance. (Inherited from Object.)
Public methodInitializeLifetimeServiceObtains a lifetime service object to control the lifetime policy for this instance. (Inherited from MarshalByRefObject.)
Public methodInvoke Calls a method on the native Active Directory Domain Services object.
Public methodInvokeGet Gets a property from the native Active Directory Domain Services object.
Public methodInvokeSet Sets a property on the native Active Directory Domain Services object.
Protected methodMemberwiseCloneOverloaded.
Public methodMoveToOverloaded. Moves this DirectoryEntry.
Public methodRefreshCacheOverloaded. Loads the property values for this DirectoryEntry object into the property cache.
Public methodRename Changes the name of this DirectoryEntry object.
Public methodToString Returns a String containing the name of the Component, if any. This method should not be overridden. (Inherited from Component.)
Top
  NameDescription
Public propertyAuthenticationType Gets or sets the type of authentication to use.
Protected propertyCanRaiseEvents Gets a value indicating whether the component can raise an event. (Inherited from Component.)
Public propertyChildren Gets the child entries of this node in the Active Directory Domain Services hierarchy.
Public propertyContainer Gets the IContainer that contains the Component. (Inherited from Component.)
Protected propertyDesignMode Gets a value that indicates whether the Component is currently in design mode. (Inherited from Component.)
Protected propertyEvents Gets the list of event handlers that are attached to this Component. (Inherited from Component.)
Public propertyGuid Gets the GUID of the DirectoryEntry.
Public propertyName Gets the name of the object as named with the underlying directory service.
Public propertyNativeGuid Gets the GUID of the DirectoryEntry, as returned from the provider.
Public propertyNativeObject Gets the native Active Directory Service Interfaces (ADSI) object.
Public propertyObjectSecurity Gets or sets the security descriptor for this entry.
Public propertyOptions Gets the provider-specific options for this entry.
Public propertyParent Gets this entry's parent in the Active Directory Domain Services hierarchy.
Public propertyPassword Sets the password to use when authenticating the client.
Public propertyPath Gets or sets the path for this DirectoryEntry.
Public propertyProperties Gets the Active Directory Domain Services properties for this DirectoryEntry object.
Public propertySchemaClassName Gets the name of the schema class for this DirectoryEntry object.
Public propertySchemaEntry Gets the schema object for this entry.
Public propertySite Gets or sets the ISite of the Component. (Inherited from Component.)
Public propertyUsePropertyCache Gets or sets a value indicating whether the cache should be committed after each operation.
Public propertyUsername Gets or sets the user name to use when authenticating the client.
Top
  NameDescription
Public eventDisposed Occurs when the component is disposed by a call to the Dispose method. (Inherited from Component.)
Top
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker