ActiveDirectorySchemaClass.GetDirectoryEntry Method      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets the DirectoryEntry object for the ActiveDirectorySchemaClass object.
public:
 System::DirectoryServices::DirectoryEntry ^ GetDirectoryEntry();public System.DirectoryServices.DirectoryEntry GetDirectoryEntry();member this.GetDirectoryEntry : unit -> System.DirectoryServices.DirectoryEntryPublic Function GetDirectoryEntry () As DirectoryEntryReturns
A DirectoryEntry object that represents the directory entry for the schema class.
Exceptions
The ActiveDirectorySchemaClass object is not a valid instance.