ActiveDirectorySchemaProperty.GetDirectoryEntry Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the DirectoryEntry object for the ActiveDirectorySchemaProperty object.

Namespace:   System.DirectoryServices.ActiveDirectory
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public DirectoryEntry GetDirectoryEntry()

Return Value

Type: System.DirectoryServices.DirectoryEntry

A DirectoryEntry object that represents the directory entry for the schema property.

Exception Condition

The ActiveDirectorySchemaProperty object is not a valid instance.

.NET Framework
Available since 2.0
Return to top