ActiveDirectorySchema.FindAllClasses 方法

定义

检索架构中的所有 Active Directory 域服务类。

重载

FindAllClasses()

检索架构中的所有 Active Directory 域服务类。

FindAllClasses(SchemaClassType)

检索架构中属于指定类型的所有 Active Directory 域服务类。

FindAllClasses()

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

检索架构中的所有 Active Directory 域服务类。

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

返回

一个 ReadOnlyActiveDirectorySchemaClassCollection 对象,包含检索到的类的 ActiveDirectorySchemaClass 对象的集合。

例外

当前对象已被释放。

另请参阅

适用于

FindAllClasses(SchemaClassType)

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

检索架构中属于指定类型的所有 Active Directory 域服务类。

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

参数

type
SchemaClassType

标识要检索的类的类型的 SchemaClassType 成员之一。

返回

一个 ReadOnlyActiveDirectorySchemaClassCollection 对象,包含检索到的类的 ActiveDirectorySchemaClass 对象的集合。

例外

当前对象已被释放。

另请参阅

适用于