ActiveDirectorySchema.FindAllClasses Method (SchemaClassType)

 

Retrieves all Active Directory Domain Services classes in the schema that are of the specified type.

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

public ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses(
	SchemaClassType type
)

Parameters

type
Type: System.DirectoryServices.ActiveDirectory.SchemaClassType

One of the SchemaClassType members that identifies which type of classes to retrieve.

Return Value

Type: System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaClassCollection

A ReadOnlyActiveDirectorySchemaClassCollection object that contains a collection of ActiveDirectorySchemaClass objects for the classes that were retrieved.

Exception Condition
ObjectDisposedException

The current object has been disposed.

.NET Framework
Available since 2.0
Return to top
Show: