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 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈