DirectoryEntry.SchemaClassName Property

 
System_CAPS_noteNote

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

Gets the name of the schema class for this DirectoryEntry object.

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

[<BrowsableAttribute(false)>]
[<DSDescriptionAttribute("DSSchemaClassName")>]
member SchemaClassName : string with get

Property Value

Type: System.String

The name of the schema class for this DirectoryEntry object.

This is the same as the Name property of the SchemaEntry property.

A DirectoryEntry object's schema defines its properties and methods.

The following example demonstrates the SchemaClassName and SchemaEntry properties of the DirectoryEntry class. This example gets the user-specified DirectoryEntry and gets all of its children if the SchemaEntry is a container object. The SchemaEntry is a container object if the Name of that object is "container".

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: