ActiveDirectorySchema.FindAllClasses 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.
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
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
- ReadOnlyActiveDirectorySchemaClassCollection
- ActiveDirectorySchemaClass
- ActiveDirectorySchema
- Accessing the Schema
Applies to
FindAllClasses(SchemaClassType)
- 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
- ReadOnlyActiveDirectorySchemaClassCollection
- SchemaClassType
- ActiveDirectorySchemaClass
- Accessing the Schema