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
- 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
- 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
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應