Bewerken

Share via


ActiveDirectorySchema.FindAllClasses Method

Definition

Retrieves all Active Directory Domain Services classes in the schema.

Overloads

FindAllClasses()

Retrieves all Active Directory Domain Services classes in the schema.

FindAllClasses(SchemaClassType)

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

FindAllClasses()

Source:
ActiveDirectorySchema.cs
Source:
ActiveDirectorySchema.cs
Source:
ActiveDirectorySchema.cs
Source:
ActiveDirectorySchema.cs

Retrieves all Active Directory Domain Services classes in the schema.

public:
 System::DirectoryServices::ActiveDirectory::ReadOnlyActiveDirectorySchemaClassCollection ^ FindAllClasses();
public System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses ();
member this.FindAllClasses : unit -> System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaClassCollection
Public Function FindAllClasses () As ReadOnlyActiveDirectorySchemaClassCollection

Returns

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

Exceptions

The current object has been disposed.

See also

Applies to

FindAllClasses(SchemaClassType)

Source:
ActiveDirectorySchema.cs
Source:
ActiveDirectorySchema.cs
Source:
ActiveDirectorySchema.cs
Source:
ActiveDirectorySchema.cs

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

public:
 System::DirectoryServices::ActiveDirectory::ReadOnlyActiveDirectorySchemaClassCollection ^ FindAllClasses(System::DirectoryServices::ActiveDirectory::SchemaClassType type);
public System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaClassCollection FindAllClasses (System.DirectoryServices.ActiveDirectory.SchemaClassType type);
member this.FindAllClasses : System.DirectoryServices.ActiveDirectory.SchemaClassType -> System.DirectoryServices.ActiveDirectory.ReadOnlyActiveDirectorySchemaClassCollection
Public Function FindAllClasses (type As SchemaClassType) As ReadOnlyActiveDirectorySchemaClassCollection

Parameters

type
SchemaClassType

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

Returns

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

Exceptions

The current object has been disposed.

See also

Applies to